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":543214895153,"title":"CTO-PYRITE","handle":"cto-pyrite","description":null,"published_at":"2018-03-14T10:47:38+02:00","created_at":"2018-03-14T10:47:38+02:00","vendor":"CAT EYEWEAR","type":"CT02T","tags":["BS-18","CAT-EYEWEAR","DESIGNER-BRANDS","EH-32","ES-57","Full-rim","Mens","NEW","Optical","R501-R1000","Rectangular","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":7287648550961,"title":"GUN \/ COL005 \/ CT02T","option1":"GUN","option2":"COL005","option3":"CT02T","sku":"CTO-PYRITE\/005","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-PYRITE - GUN \/ COL005 \/ CT02T","public_title":"GUN \/ COL005 \/ CT02T","options":["GUN","COL005","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":"shopify","inventory_policy":"deny","barcode":"5055022621554"},{"id":7287648583729,"title":"GUN \/ COL004 \/ CT02T","option1":"GUN","option2":"COL004","option3":"CT02T","sku":"CTO-PYRITE\/004","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-PYRITE - GUN \/ COL004 \/ CT02T","public_title":"GUN \/ COL004 \/ CT02T","options":["GUN","COL004","CT02T"],"price":79500,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":"shopify","inventory_policy":"deny","barcode":"5055022621547"},{"id":7287648616497,"title":"BROWN \/ COL003 \/ CT02T","option1":"BROWN","option2":"COL003","option3":"CT02T","sku":"CTO-PYRITE\/003","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-PYRITE - 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":"5055022621530"}],"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" ); */