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":52988084231,"title":"CTO-CHUCK","handle":"cto-chuck","description":"","published_at":"2017-11-11T11:17:38+02:00","created_at":"2017-11-11T11:17:38+02:00","vendor":"CAT EYEWEAR","type":"CT02P","tags":["Acetate","BS-17","CAT-EYEWEAR","DESIGNER-BRANDS","EH-37","ES-54","Full-rim","Mens","NEW","Optical","R501-R1000","Rectangular-","TS-140"],"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":388666654727,"title":"BLUE \/ COL119 \/ CT02P","option1":"BLUE","option2":"COL119","option3":"CT02P","sku":"CTO-CHUCK\/119","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CHUCK - BLUE \/ COL119 \/ CT02P","public_title":"BLUE \/ COL119 \/ CT02P","options":["BLUE","COL119","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":24,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619827"},{"id":388666687495,"title":"GREY \u0026 TORTOISE SHELL \/ COL109 \/ CT02P","option1":"GREY \u0026 TORTOISE SHELL","option2":"COL109","option3":"CT02P","sku":"CTO-CHUCK\/109","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CHUCK - GREY \u0026 TORTOISE SHELL \/ COL109 \/ CT02P","public_title":"GREY \u0026 TORTOISE SHELL \/ COL109 \/ CT02P","options":["GREY \u0026 TORTOISE SHELL","COL109","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":25,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619803"},{"id":388666720263,"title":"BLACK \/ COL127 \/ CT02P","option1":"BLACK","option2":"COL127","option3":"CT02P","sku":"CTO-CHUCK\/127","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CHUCK - BLACK \/ COL127 \/ CT02P","public_title":"BLACK \/ COL127 \/ CT02P","options":["BLACK","COL127","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":24,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619834"},{"id":388666753031,"title":"BROWN \u0026 BLUE \/ COL118 \/ CT02P","option1":"BROWN \u0026 BLUE","option2":"COL118","option3":"CT02P","sku":"CTO-CHUCK\/118","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-CHUCK - BROWN \u0026 BLUE \/ COL118 \/ CT02P","public_title":"BROWN \u0026 BLUE \/ COL118 \/ CT02P","options":["BROWN \u0026 BLUE","COL118","CT02P"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":25,"inventory_management":null,"inventory_policy":"continue","barcode":"5055022619810"}],"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" ); */