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":52988116999,"title":"CTO-GRANITE","handle":"cto-granite","description":"","published_at":"2017-11-11T11:17:39+02:00","created_at":"2017-11-11T11:17:39+02:00","vendor":"CAT EYEWEAR","type":"CT02P","tags":["Acetate","BS-18","CAT-EYEWEAR","DESIGNER-BRANDS","EH-38","ES-57","Full-rim","Mens","NEW","Optical","R501-R1000","Rectangular-","TS-145"],"price":76500,"price_min":76500,"price_max":76500,"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":388666818567,"title":"BLACK \u0026 GREY \/ COL104 \/ CT02P","option1":"BLACK \u0026 GREY","option2":"COL104","option3":"CT02P","sku":"CTO-GRANITE\/104","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GRANITE - BLACK \u0026 GREY \/ COL104 \/ CT02P","public_title":"BLACK \u0026 GREY \/ COL104 \/ CT02P","options":["BLACK \u0026 GREY","COL104","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":25,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619858"},{"id":388666851335,"title":"BROWN \/ COL103 \/ CT02P","option1":"BROWN","option2":"COL103","option3":"CT02P","sku":"CTO-GRANITE\/103","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GRANITE - BROWN \/ COL103 \/ CT02P","public_title":"BROWN \/ COL103 \/ CT02P","options":["BROWN","COL103","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":25,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619841"},{"id":388666884103,"title":"BLUE \/ COL106 \/ CT02P","option1":"BLUE","option2":"COL106","option3":"CT02P","sku":"CTO-GRANITE\/106","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GRANITE - BLUE \/ COL106 \/ CT02P","public_title":"BLUE \/ COL106 \/ CT02P","options":["BLUE","COL106","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":24,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619865"},{"id":388666916871,"title":"GREY \/ COL108 \/ CT02P","option1":"GREY","option2":"COL108","option3":"CT02P","sku":"CTO-GRANITE\/108","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GRANITE - GREY \/ COL108 \/ CT02P","public_title":"GREY \/ COL108 \/ CT02P","options":["GREY","COL108","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":24,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619872"}],"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" ); */