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":543216107569,"title":"CTO-CALCITE","handle":"cto-calcite","description":"","published_at":"2018-03-14T10:49:05+02:00","created_at":"2018-03-14T10:49:05+02:00","vendor":"CAT EYEWEAR","type":"CT02T","tags":["BS-19","Cat-Eye","CAT-EYEWEAR","DESIGNER-BRANDS","EH-35","ES-54","Full-rim","Mens","NEW","Optical","R501-R1000","Titanium","TS-140"],"price":79500,"price_min":79500,"price_max":79500,"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":7287652057137,"title":"BROWN \/ COL003 \/ CT02T","option1":"BROWN","option2":"COL003","option3":"CT02T","sku":"CTO-CALCITE\/003","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CALCITE - BROWN \/ COL003 \/ CT02T","public_title":"BROWN \/ COL003 \/ CT02T","options":["BROWN","COL003","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":null,"inventory_policy":"deny","barcode":"5055022621592"},{"id":7287652089905,"title":"BLACK \/ COL004 \/ CT02T","option1":"BLACK","option2":"COL004","option3":"CT02T","sku":"CTO-CALCITE\/004","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CALCITE - BLACK \/ COL004 \/ CT02T","public_title":"BLACK \/ COL004 \/ CT02T","options":["BLACK","COL004","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":null,"inventory_policy":"deny","barcode":"5055022621608"},{"id":7287652122673,"title":"GUN \/ COL205 \/ CT02T","option1":"GUN","option2":"COL205","option3":"CT02T","sku":"CTO-CALCITE\/205","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CALCITE - GUN \/ COL205 \/ CT02T","public_title":"GUN \/ COL205 \/ CT02T","options":["GUN","COL205","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":null,"inventory_policy":"deny","barcode":"5055022621615"}],"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" ); */