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":75203543047,"title":"CF616","handle":"cf616-1","description":"","published_at":"2017-11-21T15:17:42+02:00","created_at":"2017-11-21T15:17:42+02:00","vendor":"CROCS EYEWEAR","type":"CRO4","tags":["Acetate","BS-16","CROCS-EYEWEAR","DESIGNER-BRANDS","EH-38","ES-53","Full-rim","Optical","R501-R1000","TS-138","Unisex","WAYFARER"],"price":59900,"price_min":59900,"price_max":59900,"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":752840376327,"title":"YELLOW \/ COL40YW \/ CRO4","option1":"YELLOW","option2":"COL40YW","option3":"CRO4","sku":"CF616\/40YW","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CF616 - YELLOW \/ COL40YW \/ CRO4","public_title":"YELLOW \/ COL40YW \/ CRO4","options":["YELLOW","COL40YW","CRO4"],"price":59900,"weight":0,"compare_at_price":null,"inventory_quantity":3,"inventory_management":null,"inventory_policy":"continue","barcode":""}],"images":[],"featured_image":null,"options":["Colour","Code","ItemGroup"],"content":""}, 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" ); */