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":543216173105,"title":"CTO-GALENA","handle":"cto-galena","description":null,"published_at":"2018-03-14T10:49:09+02:00","created_at":"2018-03-14T10:49:09+02:00","vendor":"CAT EYEWEAR","type":"CT02T","tags":["BS-16","CAT-EYEWEAR","DESIGNER-BRANDS","EH-37","ES-55","Full-rim","Mens","NEW","Optical","R501-R1000","Rectangular","Titanium","TS-145"],"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":7287652253745,"title":"BLACK \/ COL004 \/ CT02T","option1":"BLACK","option2":"COL004","option3":"CT02T","sku":"CTO-GALENA\/004","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GALENA - 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":"shopify","inventory_policy":"deny","barcode":"5055022621660"},{"id":7287652286513,"title":"NAVY \/ COL006 \/ CT02T","option1":"NAVY","option2":"COL006","option3":"CT02T","sku":"CTO-GALENA\/006","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GALENA - NAVY \/ COL006 \/ CT02T","public_title":"NAVY \/ COL006 \/ CT02T","options":["NAVY","COL006","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":"shopify","inventory_policy":"deny","barcode":"5055022621653"},{"id":7287652319281,"title":"BROWN \/ COL003 \/ CT02T","option1":"BROWN","option2":"COL003","option3":"CT02T","sku":"CTO-GALENA\/003","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-GALENA - 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":"shopify","inventory_policy":"deny","barcode":"5055022621677"}],"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" ); */