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":779887673393,"title":"CORD-S103","handle":"cord-s103","description":"","published_at":"2018-06-04T16:17:41+02:00","created_at":"2018-06-04T16:17:41+02:00","vendor":"SPARES","type":"AC CH","tags":["R0-R100","Spares","TOOLS-AND-SPARES-AND-ACCESSORIES"],"price":3900,"price_min":3900,"price_max":3900,"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":8826300268593,"title":"Blue cords packed in 6 units \/ COL60 \/ AC CH","option1":"Blue cords packed in 6 units","option2":"COL60","option3":"AC CH","sku":"CORD-S103\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-S103 - Blue cords packed in 6 units \/ COL60 \/ AC CH","public_title":"Blue cords packed in 6 units \/ COL60 \/ AC CH","options":["Blue cords packed in 6 units","COL60","AC CH"],"price":3900,"weight":0,"compare_at_price":null,"inventory_quantity":149,"inventory_management":null,"inventory_policy":"deny","barcode":""},{"id":8826300301361,"title":"Purple cords packed in 6 units \/ COL70 \/ AC CH","option1":"Purple cords packed in 6 units","option2":"COL70","option3":"AC CH","sku":"CORD-S103\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-S103 - Purple cords packed in 6 units \/ COL70 \/ AC CH","public_title":"Purple cords packed in 6 units \/ COL70 \/ AC CH","options":["Purple cords packed in 6 units","COL70","AC CH"],"price":3900,"weight":0,"compare_at_price":null,"inventory_quantity":149,"inventory_management":null,"inventory_policy":"deny","barcode":""},{"id":8826300334129,"title":"Black cords packed in 6 units \/ COL50 \/ AC CH","option1":"Black cords packed in 6 units","option2":"COL50","option3":"AC CH","sku":"CORD-S103\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-S103 - Black cords packed in 6 units \/ COL50 \/ AC CH","public_title":"Black cords packed in 6 units \/ COL50 \/ AC CH","options":["Black cords packed in 6 units","COL50","AC CH"],"price":3900,"weight":0,"compare_at_price":null,"inventory_quantity":297,"inventory_management":null,"inventory_policy":"deny","barcode":""}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1325\/7745\/products\/CORD-S103-COL70-256.jpg?v=1583246751"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1325\/7745\/products\/CORD-S103-COL70-256.jpg?v=1583246751","options":["Colour","Code","ItemGroup"],"media":[{"alt":null,"id":6442125951025,"position":1,"preview_image":{"aspect_ratio":0.665,"height":385,"width":256,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1325\/7745\/products\/CORD-S103-COL70-256.jpg?v=1583246751"},"aspect_ratio":0.665,"height":385,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1325\/7745\/products\/CORD-S103-COL70-256.jpg?v=1583246751","width":256}],"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" ); */