Products

Test Shopify Product

$0 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

Test Shopify Variant

$10 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

TEST Shorts

$0 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

Test simple product

$0 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

Test Test product

$0 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

Test Unpublishing

$0 //hide any single option selectors $('select.single-option-selector').each(function(){ if ($(' > option', this).length == 1){ $(this).css('visibility', 'hidden'); $(this).prev().css('display', 'none'); } });

Liquid error (snippets/disable-sold-out line 29): Nesting too deep