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":1489436016689,"title":"BV2547","handle":"bv2547","description":"","published_at":"2018-11-05T17:35:42+02:00","created_at":"2018-11-05T17:35:42+02:00","vendor":"BAVINO EYEWEAR","type":"RPP3","tags":["Acetate","BAVINO-EYEWEAR","BS-15","Cat-Eye","EH-41","ES-51","Full-rim","Ladies","NEW","Optical","R301-R500","TREND-COLLECTIONS","TS-135"],"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":13640922955825,"title":"purple stripe\u0026matt purple \/ COL70 \/ RPP3","option1":"purple stripe\u0026matt purple","option2":"COL70","option3":"RPP3","sku":"BV2547\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2547 - purple stripe\u0026matt purple \/ COL70 \/ RPP3","public_title":"purple stripe\u0026matt purple \/ COL70 \/ RPP3","options":["purple stripe\u0026matt purple","COL70","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":52,"inventory_management":null,"inventory_policy":"deny","barcode":"2547705115137"},{"id":13640922988593,"title":"black\u0026 shiny gold \/ COL50 \/ RPP3","option1":"black\u0026 shiny gold","option2":"COL50","option3":"RPP3","sku":"BV2547\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2547 - black\u0026 shiny gold \/ COL50 \/ RPP3","public_title":"black\u0026 shiny gold \/ COL50 \/ RPP3","options":["black\u0026 shiny gold","COL50","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":109,"inventory_management":null,"inventory_policy":"deny","barcode":"2547505115139"},{"id":13640923021361,"title":"blue tort\/matt blue \/ COL65 \/ RPP3","option1":"blue tort\/matt blue","option2":"COL65","option3":"RPP3","sku":"BV2547\/65","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2547 - blue tort\/matt blue \/ COL65 \/ RPP3","public_title":"blue tort\/matt blue \/ COL65 \/ RPP3","options":["blue tort\/matt blue","COL65","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":42,"inventory_management":null,"inventory_policy":"deny","barcode":"2547655115133"},{"id":13640923054129,"title":"burgundy stripe\u0026matt red \/ COL80 \/ RPP3","option1":"burgundy stripe\u0026matt red","option2":"COL80","option3":"RPP3","sku":"BV2547\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2547 - burgundy stripe\u0026matt red \/ COL80 \/ RPP3","public_title":"burgundy stripe\u0026matt red \/ COL80 \/ RPP3","options":["burgundy stripe\u0026matt red","COL80","RPP3"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":59,"inventory_management":null,"inventory_policy":"deny","barcode":"2547805115136"}],"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" ); */