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":81551458311,"title":"BV2361","handle":"bv2361","description":"","published_at":"2017-11-24T10:18:09+02:00","created_at":"2017-11-24T10:18:09+02:00","vendor":"BAVINO EYEWEAR","type":"RPP3","tags":["Acetate","BAVINO-EYEWEAR","BS-18","EH-41","ES-57","Full-rim","Ladies","NEW","Optical","Oval","R301-R500","TREND-COLLECTIONS","TS-145"],"price":38500,"price_min":38500,"price_max":38500,"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":809251143687,"title":"VIOLE \/ COL60 \/ RPP3","option1":"VIOLE","option2":"COL60","option3":"RPP3","sku":"BV2361\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2361 - VIOLE \/ COL60 \/ RPP3","public_title":"VIOLE \/ COL60 \/ RPP3","options":["VIOLE","COL60","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":95,"inventory_management":null,"inventory_policy":"continue","barcode":"236170571814"},{"id":809251176455,"title":"RED \/ COL70 \/ RPP3","option1":"RED","option2":"COL70","option3":"RPP3","sku":"BV2361\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2361 - RED \/ COL70 \/ RPP3","public_title":"RED \/ COL70 \/ RPP3","options":["RED","COL70","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":91,"inventory_management":null,"inventory_policy":"continue","barcode":"236160571814"},{"id":809251241991,"title":"BLACK \/ COL50 \/ RPP3","option1":"BLACK","option2":"COL50","option3":"RPP3","sku":"BV2361\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2361 - BLACK \/ COL50 \/ RPP3","public_title":"BLACK \/ COL50 \/ RPP3","options":["BLACK","COL50","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":101,"inventory_management":null,"inventory_policy":"continue","barcode":"236150571814"}],"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" ); */