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":1378726576177,"title":"BV1622","handle":"bv1622-1","description":null,"published_at":"2018-08-08T09:19:33+02:00","created_at":"2018-08-08T09:19:33+02:00","vendor":"BAVINO EYEWEAR","type":"RPP6","tags":["BAVINO-EYEWEAR","BS-18","EH-25","ES-49","Ladies","Optical","R301-R500","Rectangular","Rimless","Titanium","TREND-COLLECTIONS","TS-140"],"price":43500,"price_min":43500,"price_max":43500,"available":false,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":12422841401393,"title":"DARK PURPLE \/ COL72 \/ RPP6","option1":"DARK PURPLE","option2":"COL72","option3":"RPP6","sku":"BV1622\/72","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"BV1622 - DARK PURPLE \/ COL72 \/ RPP6","public_title":"DARK PURPLE \/ COL72 \/ RPP6","options":["DARK PURPLE","COL72","RPP6"],"price":43500,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"deny","barcode":"1262104820406"}],"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" ); */