Products

Simple

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

Simple

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

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

SKUTest

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

Some other random name that i want

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

Something

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