Products

Product 1

$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'); } });

Product 1 Test Shopify

from $100 //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'); } });

Product 2

$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'); } });

Product A

$5 //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'); } });

Product for Summer collection

$5 //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'); } });

Product X

$20 //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