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":779887640625,"title":"CORD-C16","handle":"cord-c16","description":null,"published_at":"2018-06-04T16:17:38+02:00","created_at":"2018-06-04T16:17:38+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":8826300137521,"title":"Brown cords packed in 6 units \/ COL30 \/ AC CH","option1":"Brown cords packed in 6 units","option2":"COL30","option3":"AC CH","sku":"CORD-C16\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-C16 - Brown cords packed in 6 units \/ COL30 \/ AC CH","public_title":"Brown cords packed in 6 units \/ COL30 \/ AC CH","options":["Brown cords packed in 6 units","COL30","AC CH"],"price":3900,"weight":0,"compare_at_price":null,"inventory_quantity":197,"inventory_management":"shopify","inventory_policy":"deny","barcode":""},{"id":8826300170289,"title":"Purple cords packed in 6 units \/ COL70 \/ AC CH","option1":"Purple cords packed in 6 units","option2":"COL70","option3":"AC CH","sku":"CORD-C16\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-C16 - 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":199,"inventory_management":"shopify","inventory_policy":"deny","barcode":""},{"id":8826300203057,"title":"Black cords packed in 6 units \/ COL50 \/ AC CH","option1":"Black cords packed in 6 units","option2":"COL50","option3":"AC CH","sku":"CORD-C16\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-C16 - 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":298,"inventory_management":"shopify","inventory_policy":"deny","barcode":""},{"id":8826300235825,"title":"Blue cords packed in 6 units \/ COL60 \/ AC CH","option1":"Blue cords packed in 6 units","option2":"COL60","option3":"AC CH","sku":"CORD-C16\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CORD-C16 - 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":198,"inventory_management":"shopify","inventory_policy":"deny","barcode":""}],"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" ); */