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":52989755399,"title":"CTO-TRUSS","handle":"cto-truss","description":null,"published_at":"2017-11-11T11:18:38+02:00","created_at":"2017-11-11T11:18:38+02:00","vendor":"CAT EYEWEAR","type":"CT02M","tags":["BS-17","CAT-EYEWEAR","DESIGNER-BRANDS","EH-36","ES-57","Full-rim","Mens","METAL","NEW","OPTICAL","R501-R1000","SQUARE-","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":388676911111,"title":"BLACK \/ COL003 \/ CT02M","option1":"BLACK","option2":"COL003","option3":"CT02M","sku":"CTO-TRUSS\/003","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-TRUSS - BLACK \/ COL003 \/ CT02M","public_title":"BLACK \/ COL003 \/ CT02M","options":["BLACK","COL003","CT02M"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":29,"inventory_management":"shopify","inventory_policy":"continue","barcode":"5055022619766"},{"id":388676943879,"title":"BLACK \u0026 GREY \/ COL004 \/ CT02M","option1":"BLACK \u0026 GREY","option2":"COL004","option3":"CT02M","sku":"CTO-TRUSS\/004","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-TRUSS - BLACK \u0026 GREY \/ COL004 \/ CT02M","public_title":"BLACK \u0026 GREY \/ COL004 \/ CT02M","options":["BLACK \u0026 GREY","COL004","CT02M"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":30,"inventory_management":"shopify","inventory_policy":"continue","barcode":"5055022619773"},{"id":388676976647,"title":"GUNMETAL \u0026 BLUE \/ COL010 \/ CT02M","option1":"GUNMETAL \u0026 BLUE","option2":"COL010","option3":"CT02M","sku":"CTO-TRUSS\/010","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-TRUSS - GUNMETAL \u0026 BLUE \/ COL010 \/ CT02M","public_title":"GUNMETAL \u0026 BLUE \/ COL010 \/ CT02M","options":["GUNMETAL \u0026 BLUE","COL010","CT02M"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":29,"inventory_management":"shopify","inventory_policy":"continue","barcode":"5055022619797"},{"id":388677009415,"title":"BLUE \/ COL006 \/ CT02M","option1":"BLUE","option2":"COL006","option3":"CT02M","sku":"CTO-TRUSS\/006","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"CTO-TRUSS - BLUE \/ COL006 \/ CT02M","public_title":"BLUE \/ COL006 \/ CT02M","options":["BLUE","COL006","CT02M"],"price":76500,"weight":0,"compare_at_price":null,"inventory_quantity":30,"inventory_management":"shopify","inventory_policy":"continue","barcode":"5055022619780"}],"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" ); */