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":81550475271,"title":"ED754","handle":"ed754","description":null,"published_at":"2017-11-24T10:17:47+02:00","created_at":"2017-11-24T10:17:47+02:00","vendor":"EDEN EYEWEAR","type":"ED02","tags":["BS-18","EDEN-EYEWEAR","EH-46","ES-50","Full-rim","Injection-plastic","Ladies","NEW","Optical","R301-R500","Round","TREND-COLLECTIONS","TS-140"],"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":809244622855,"title":"Black \/ dull drak royal blue \/ COL53 \/ ED02","option1":"Black \/ dull drak royal blue","option2":"COL53","option3":"ED02","sku":"ED754\/53","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED754 - Black \/ dull drak royal blue \/ COL53 \/ ED02","public_title":"Black \/ dull drak royal blue \/ COL53 \/ ED02","options":["Black \/ dull drak royal blue","COL53","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":83,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7545350181403"},{"id":809244655623,"title":"Dull dark red \/ matte black \/ COL80 \/ ED02","option1":"Dull dark red \/ matte black","option2":"COL80","option3":"ED02","sku":"ED754\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED754 - Dull dark red \/ matte black \/ COL80 \/ ED02","public_title":"Dull dark red \/ matte black \/ COL80 \/ ED02","options":["Dull dark red \/ matte black","COL80","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":96,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7548050181407"},{"id":809244688391,"title":"Brown demi \/ matte gold \/ COL31 \/ ED02","option1":"Brown demi \/ matte gold","option2":"COL31","option3":"ED02","sku":"ED754\/31","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"ED754 - Brown demi \/ matte gold \/ COL31 \/ ED02","public_title":"Brown demi \/ matte gold \/ COL31 \/ ED02","options":["Brown demi \/ matte gold","COL31","ED02"],"price":39900,"weight":0,"compare_at_price":null,"inventory_quantity":84,"inventory_management":"shopify","inventory_policy":"continue","barcode":"7543150181401"}],"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" ); */