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":81550999559,"title":"ED745","handle":"ed745","description":null,"published_at":"2017-11-24T10:17:57+02:00","created_at":"2017-11-24T10:17:57+02:00","vendor":"EDEN EYEWEAR","type":"ED01","tags":["BS-17","EDEN-EYEWEAR","EH-30","ES-48","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":809247408135,"title":"Black chrome brush silver \/ COL45 \/ ED01","option1":"Black chrome brush silver","option2":"COL45","option3":"ED01","sku":"ED745\/45","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED745 - Black chrome brush silver \/ COL45 \/ ED01","public_title":"Black chrome brush silver \/ COL45 \/ ED01","options":["Black chrome brush silver","COL45","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":94,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7454548171358"},{"id":809247440903,"title":"Matte black \/ shiny silver \/ COL53 \/ ED01","option1":"Matte black \/ shiny silver","option2":"COL53","option3":"ED01","sku":"ED745\/53","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED745 - Matte black \/ shiny silver \/ COL53 \/ ED01","public_title":"Matte black \/ shiny silver \/ COL53 \/ ED01","options":["Matte black \/ shiny silver","COL53","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":93,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7455348171357"},{"id":809247473671,"title":"Matte dull drak blue \/ shiny gold \/ COL60 \/ ED01","option1":"Matte dull drak blue \/ shiny gold","option2":"COL60","option3":"ED01","sku":"ED745\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED745 - Matte dull drak blue \/ shiny gold \/ COL60 \/ ED01","public_title":"Matte dull drak blue \/ shiny gold \/ COL60 \/ ED01","options":["Matte dull drak blue \/ shiny gold","COL60","ED01"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":101,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7456048171357"}],"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" ); */