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":81550278663,"title":"ED746","handle":"ed746","description":"","published_at":"2017-11-24T10:17:42+02:00","created_at":"2017-11-24T10:17:42+02:00","vendor":"EDEN EYEWEAR","type":"ED01 S","tags":["BS-18","EDEN-EYEWEAR","EH-33","ES-47","Ladies","NEW","Optical","R301-R500","Semi-rimless","Stainless-steel","TREND-COLLECTIONS","TS-138","Wayfarer"],"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":809244098567,"title":"Dark blue \/ turquoise \/ COL60 \/ ED01 S","option1":"Dark blue \/ turquoise","option2":"COL60","option3":"ED01 S","sku":"ED746\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED746 - Dark blue \/ turquoise \/ COL60 \/ ED01 S","public_title":"Dark blue \/ turquoise \/ COL60 \/ ED01 S","options":["Dark blue \/ turquoise","COL60","ED01 S"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":80,"inventory_management":null,"inventory_policy":"continue","barcode":"7466047181387"},{"id":809244131335,"title":"Dark purple \/ pink \/ COL70 \/ ED01 S","option1":"Dark purple \/ pink","option2":"COL70","option3":"ED01 S","sku":"ED746\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED746 - Dark purple \/ pink \/ COL70 \/ ED01 S","public_title":"Dark purple \/ pink \/ COL70 \/ ED01 S","options":["Dark purple \/ pink","COL70","ED01 S"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":79,"inventory_management":null,"inventory_policy":"continue","barcode":"7467047181384"},{"id":809244164103,"title":"Black \/ dark violet \/ COL53 \/ ED01 S","option1":"Black \/ dark violet","option2":"COL53","option3":"ED01 S","sku":"ED746\/53","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED746 - Black \/ dark violet \/ COL53 \/ ED01 S","public_title":"Black \/ dark violet \/ COL53 \/ ED01 S","options":["Black \/ dark violet","COL53","ED01 S"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":146,"inventory_management":null,"inventory_policy":"continue","barcode":"7465347181387"}],"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" ); */