Products

Grape

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

GraphTest

Regular price $22 Sale price $1

gredcupliatetest

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

Greg Shopify Image Test

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

Greg's HS Code Test

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

Greg's test product 2

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