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":569394528305,"title":"BL7012","handle":"bl7012","description":null,"published_at":"2018-04-20T10:18:03+02:00","created_at":"2018-04-20T10:18:03+02:00","vendor":"BOLON EYEWEAR","type":"BL02M","tags":["BOLON-EYEWEAR","BS-16","DESIGNER-BRANDS","EH-53","ES-59","Full-rim","Ladies","Metal","NEW","R501-R1000","Round","Sunglass","TS-148"],"price":66900,"price_min":66900,"price_max":76900,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":7434523246641,"title":"PINK \/ COLB30 \/ BL02M","option1":"PINK","option2":"COLB30","option3":"BL02M","sku":"BL7012\/B30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BL7012 - PINK \/ COLB30 \/ BL02M","public_title":"PINK \/ COLB30 \/ BL02M","options":["PINK","COLB30","BL02M"],"price":66900,"weight":0,"compare_at_price":null,"inventory_quantity":5,"inventory_management":"shopify","inventory_policy":"deny","barcode":"6933107617564"},{"id":7434523279409,"title":"GOLD \/ COLC10 \/ BL02M","option1":"GOLD","option2":"COLC10","option3":"BL02M","sku":"BL7012\/C10","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BL7012 - GOLD \/ COLC10 \/ BL02M","public_title":"GOLD \/ COLC10 \/ BL02M","options":["GOLD","COLC10","BL02M"],"price":76900,"weight":0,"compare_at_price":null,"inventory_quantity":5,"inventory_management":"shopify","inventory_policy":"deny","barcode":"6933107617595"}],"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" ); */