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":87880957959,"title":"ED749","handle":"ed749","description":"","published_at":"2017-11-27T10:17:45+02:00","created_at":"2017-11-27T10:17:45+02:00","vendor":"EDEN EYEWEAR","type":"ED01","tags":["BS-16","EDEN-EYEWEAR","EH-32","ES-49","Full-rim","NEW","Optical","R301-R500","Stainless-steel","TREND-COLLECTIONS","TS-135","Unisex","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":878961491975,"title":"Purple \/ pink \/ light mauve \/ COL71 \/ ED01","option1":"Purple \/ pink \/ light mauve","option2":"COL71","option3":"ED01","sku":"ED749\/71","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED749 - Purple \/ pink \/ light mauve \/ COL71 \/ ED01","public_title":"Purple \/ pink \/ light mauve \/ COL71 \/ ED01","options":["Purple \/ pink \/ light mauve","COL71","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":102,"inventory_management":null,"inventory_policy":"continue","barcode":"7497149161359"},{"id":878961524743,"title":"Dark brown \/ red \/ light brown \/ COL30 \/ ED01","option1":"Dark brown \/ red \/ light brown","option2":"COL30","option3":"ED01","sku":"ED749\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED749 - Dark brown \/ red \/ light brown \/ COL30 \/ ED01","public_title":"Dark brown \/ red \/ light brown \/ COL30 \/ ED01","options":["Dark brown \/ red \/ light brown","COL30","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":103,"inventory_management":null,"inventory_policy":"continue","barcode":"7493049161352"},{"id":878961557511,"title":"Black \/ royal blue \/ turquoise \/ COL53 \/ ED01","option1":"Black \/ royal blue \/ turquoise","option2":"COL53","option3":"ED01","sku":"ED749\/53","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED749 - Black \/ royal blue \/ turquoise \/ COL53 \/ ED01","public_title":"Black \/ royal blue \/ turquoise \/ COL53 \/ ED01","options":["Black \/ royal blue \/ turquoise","COL53","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":103,"inventory_management":null,"inventory_policy":"continue","barcode":"7495349161353"}],"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" ); */