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":183538024497,"title":"BV2383","handle":"bv2383","description":null,"published_at":"2018-01-19T16:50:16+02:00","created_at":"2018-01-19T16:50:16+02:00","vendor":"BAVINO EYEWEAR","type":"RPP6","tags":["BAVINO-EYEWEAR","BS-17","Cat-Eye","EH-38","ES-53","Ladies","NEW","Optical","R301-R500","Rimless","Titanium","TREND-COLLECTIONS","TS-138"],"price":43500,"price_min":43500,"price_max":43500,"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":1629776707633,"title":"PINK \/ COL15 \/ RPP6","option1":"PINK","option2":"COL15","option3":"RPP6","sku":"BV2383\/15","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2383 - PINK \/ COL15 \/ RPP6","public_title":"PINK \/ COL15 \/ RPP6","options":["PINK","COL15","RPP6"],"price":43500,"weight":0,"compare_at_price":null,"inventory_quantity":51,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2.38316E+11"},{"id":1629776740401,"title":"RED \/ COL80 \/ RPP6","option1":"RED","option2":"COL80","option3":"RPP6","sku":"BV2383\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2383 - RED \/ COL80 \/ RPP6","public_title":"RED \/ COL80 \/ RPP6","options":["RED","COL80","RPP6"],"price":43500,"weight":0,"compare_at_price":null,"inventory_quantity":102,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2.38381E+11"},{"id":1629776773169,"title":"BROWN \u0026 GOLD \/ COL30 \/ RPP6","option1":"BROWN \u0026 GOLD","option2":"COL30","option3":"RPP6","sku":"BV2383\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2383 - BROWN \u0026 GOLD \/ COL30 \/ RPP6","public_title":"BROWN \u0026 GOLD \/ COL30 \/ RPP6","options":["BROWN \u0026 GOLD","COL30","RPP6"],"price":43500,"weight":0,"compare_at_price":null,"inventory_quantity":146,"inventory_management":"shopify","inventory_policy":"deny","barcode":"2.38331E+11"}],"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" ); */