Damar gives you more
BACK
var selectCallback = function(variant, selector) { timber.productPage({ money_format: "R {{amount}}", variant: variant, selector: selector, translations: { add_to_cart : "Add to Cart", sold_out : "Sold Out", unavailable : "Unavailable" } }); }; /* jQuery(function($) { new Shopify.OptionSelectors('productSelect', { product: {"id":548812816433,"title":"BV2420","handle":"bv2420","description":null,"published_at":"2018-03-22T09:16:23+02:00","created_at":"2018-03-22T09:16:23+02:00","vendor":"BAVINO EYEWEAR","type":"RPP011","tags":["BAVINO-EYEWEAR","BS-17","EH-27","ES-51","NEW","Nicol-allergy-free-metal","OPTICAL","R301-R500","Semi-rimless","TREND-COLLECTIONS","TS-140","Unisex","Wayfarer"],"price":38500,"price_min":38500,"price_max":38500,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":7318238822449,"title":"Black and Gun \/ COL50 \/ RPP011","option1":"Black and Gun","option2":"COL50","option3":"RPP011","sku":"BV2420\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2420 - Black and Gun \/ COL50 \/ RPP011","public_title":"Black and Gun \/ COL50 \/ RPP011","options":["Black and Gun","COL50","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":98,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2420505117400"},{"id":7318238855217,"title":"D.Brown and Gold \/ COL30 \/ RPP011","option1":"D.Brown and Gold","option2":"COL30","option3":"RPP011","sku":"BV2420\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2420 - D.Brown and Gold \/ COL30 \/ RPP011","public_title":"D.Brown and Gold \/ COL30 \/ RPP011","options":["D.Brown and Gold","COL30","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":76,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2420305117400"},{"id":7318238887985,"title":"Blue and Copper \/ COL60 \/ RPP011","option1":"Blue and Copper","option2":"COL60","option3":"RPP011","sku":"BV2420\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2420 - Blue and Copper \/ COL60 \/ RPP011","public_title":"Blue and Copper \/ COL60 \/ RPP011","options":["Blue and Copper","COL60","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":96,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2420605117400"}],"images":[],"featured_image":null,"options":["Colour","Code","ItemGroup"],"content":null}, onVariantSelected: selectCallback, enableHistoryState: true }); // Add label if only one product option and it isn't 'Title'. Could be 'Size'. // Hide selectors if we only have 1 variant and its title contains 'Default'. }); */ $( ".site-nav li:nth-of-type(3)" ).addClass( "site-nav--active" ); */