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":10626438023,"title":"SB T SHIRT WHITE","handle":"sb-t-shirt-white","description":"\u003cp\u003e\u003c\/p\u003e","published_at":"2017-06-23T13:04:58+02:00","created_at":"2017-06-23T13:04:58+02:00","vendor":"SISSY BOY EYEWEAR","type":"PROM","tags":["DESIGNER-BRANDS","Ladies","NEW","R101-R300","SISSY-BOY-EYEWEAR","Sunglass"],"price":10500,"price_min":10500,"price_max":11650,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":45395770759,"title":"LARGE \/ L \/ PROM","option1":"LARGE","option2":"L","option3":"PROM","sku":"SB T SHIRT WHITE\/L","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB T SHIRT WHITE - LARGE \/ L \/ PROM","public_title":"LARGE \/ L \/ PROM","options":["LARGE","L","PROM"],"price":10500,"weight":0,"compare_at_price":null,"inventory_quantity":180,"inventory_management":null,"inventory_policy":"continue","barcode":""},{"id":62546313223,"title":"MEDIUM \/ M \/ PROM","option1":"MEDIUM","option2":"M","option3":"PROM","sku":"SB T SHIRT WHITE\/M","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB T SHIRT WHITE - MEDIUM \/ M \/ PROM","public_title":"MEDIUM \/ M \/ PROM","options":["MEDIUM","M","PROM"],"price":11650,"weight":0,"compare_at_price":null,"inventory_quantity":443,"inventory_management":null,"inventory_policy":"continue","barcode":""},{"id":62546345991,"title":"SMALL \/ S \/ PROM","option1":"SMALL","option2":"S","option3":"PROM","sku":"SB T SHIRT WHITE\/S","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB T SHIRT WHITE - SMALL \/ S \/ PROM","public_title":"SMALL \/ S \/ PROM","options":["SMALL","S","PROM"],"price":10500,"weight":0,"compare_at_price":null,"inventory_quantity":244,"inventory_management":null,"inventory_policy":"continue","barcode":""}],"images":[],"featured_image":null,"options":["Colour","Code","ItemGroup"],"content":"\u003cp\u003e\u003c\/p\u003e"}, 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" ); */