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":75203739655,"title":"SDO-BRADY","handle":"sdo-brady","description":"","published_at":"2017-11-21T15:17:44+02:00","created_at":"2017-11-21T15:17:44+02:00","vendor":"SUPERDRY","type":"SD02M","tags":["Acetate","BS-20","DESIGNER-BRANDS","EH-44","ES-48","Full-rim","Optical","R501-R1000","Square","SUPERDRY","TS-140","Unisex"],"price":99900,"price_min":99900,"price_max":99900,"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":752840540167,"title":"BLUE \u0026 GREY \/ COL006 \/ SD02M","option1":"BLUE \u0026 GREY","option2":"COL006","option3":"SD02M","sku":"SDO-BRADY\/006","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SDO-BRADY - BLUE \u0026 GREY \/ COL006 \/ SD02M","public_title":"BLUE \u0026 GREY \/ COL006 \/ SD02M","options":["BLUE \u0026 GREY","COL006","SD02M"],"price":99900,"weight":0,"compare_at_price":null,"inventory_quantity":19,"inventory_management":null,"inventory_policy":"continue","barcode":""},{"id":752840572935,"title":"BLACK \/ COL004 \/ SD02M","option1":"BLACK","option2":"COL004","option3":"SD02M","sku":"SDO-BRADY\/004","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SDO-BRADY - BLACK \/ COL004 \/ SD02M","public_title":"BLACK \/ COL004 \/ SD02M","options":["BLACK","COL004","SD02M"],"price":99900,"weight":0,"compare_at_price":null,"inventory_quantity":19,"inventory_management":null,"inventory_policy":"continue","barcode":""},{"id":752840605703,"title":"GREY \u0026 BLUE \/ COL008 \/ SD02M","option1":"GREY \u0026 BLUE","option2":"COL008","option3":"SD02M","sku":"SDO-BRADY\/008","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SDO-BRADY - GREY \u0026 BLUE \/ COL008 \/ SD02M","public_title":"GREY \u0026 BLUE \/ COL008 \/ SD02M","options":["GREY \u0026 BLUE","COL008","SD02M"],"price":99900,"weight":0,"compare_at_price":null,"inventory_quantity":20,"inventory_management":null,"inventory_policy":"continue","barcode":""}],"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" ); */