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":81550540807,"title":"ED755","handle":"ed755","description":"","published_at":"2017-11-24T10:17:48+02:00","created_at":"2017-11-24T10:17:48+02:00","vendor":"EDEN EYEWEAR","type":"ED02","tags":["Acetate","BS-17","EDEN-EYEWEAR","EH-28","ES-47","Full-rim","NEW","Optical","R301-R500","Rectangular","TREND-COLLECTIONS","TS-138","Unisex"],"price":39900,"price_min":39900,"price_max":39900,"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":809244753927,"title":"Brown demi \/ COL31 \/ ED02","option1":"Brown demi","option2":"COL31","option3":"ED02","sku":"ED755\/31","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED755 - Brown demi \/ COL31 \/ ED02","public_title":"Brown demi \/ COL31 \/ ED02","options":["Brown demi","COL31","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":109,"inventory_management":null,"inventory_policy":"continue","barcode":"7553147171384"},{"id":809244786695,"title":"Crystal blue \/ COL60 \/ ED02","option1":"Crystal blue","option2":"COL60","option3":"ED02","sku":"ED755\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED755 - Crystal blue \/ COL60 \/ ED02","public_title":"Crystal blue \/ COL60 \/ ED02","options":["Crystal blue","COL60","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":81,"inventory_management":null,"inventory_policy":"continue","barcode":"7556047171386"},{"id":809244819463,"title":"Black \/ COL50 \/ ED02","option1":"Black","option2":"COL50","option3":"ED02","sku":"ED755\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED755 - Black \/ COL50 \/ ED02","public_title":"Black \/ COL50 \/ ED02","options":["Black","COL50","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":101,"inventory_management":null,"inventory_policy":"continue","barcode":"7555047171389"}],"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" ); */