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":4460869582897,"title":"KS-9026","handle":"ks-11294","description":null,"published_at":"2019-12-12T04:47:38+02:00","created_at":"2019-12-12T04:47:38+02:00","vendor":"KUBIK","type":"KB04","tags":["Acetate","BS-17","ES-58","Full-rim","KUBIK","Polarized-Sunglass","R101-R300","TREND-COLLECTIONS","TS-145"],"price":16900,"price_min":16900,"price_max":16900,"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":31464127103025,"title":"BLACK \/ COL1 \/ KB04","option1":"BLACK","option2":"COL1","option3":"KB04","sku":"KS-9026\/1","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"KS-9026 - BLACK \/ COL1 \/ KB04","public_title":"BLACK \/ COL1 \/ KB04","options":["BLACK","COL1","KB04"],"price":16900,"weight":0,"compare_at_price":null,"inventory_quantity":4,"inventory_management":"shopify","inventory_policy":"deny","barcode":""},{"id":31464127135793,"title":"MATTE BLUE \/ COL1 \/ KB04","option1":"MATTE BLUE","option2":"COL1","option3":"KB04","sku":"KS-9026\/1","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"KS-9026 - MATTE BLUE \/ COL1 \/ KB04","public_title":"MATTE BLUE \/ COL1 \/ KB04","options":["MATTE BLUE","COL1","KB04"],"price":16900,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"deny","barcode":"0"},{"id":31464127168561,"title":"KS-9026\/3 \/ COL3 \/ KB04","option1":"KS-9026\/3","option2":"COL3","option3":"KB04","sku":"KS-9026\/3","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"KS-9026 - KS-9026\/3 \/ COL3 \/ KB04","public_title":"KS-9026\/3 \/ COL3 \/ KB04","options":["KS-9026\/3","COL3","KB04"],"price":16900,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"deny","barcode":"0"},{"id":31464127201329,"title":"PURPLE \/ COL3 \/ KB04","option1":"PURPLE","option2":"COL3","option3":"KB04","sku":"KS-9026\/3","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"KS-9026 - PURPLE \/ COL3 \/ KB04","public_title":"PURPLE \/ COL3 \/ KB04","options":["PURPLE","COL3","KB04"],"price":16900,"weight":0,"compare_at_price":null,"inventory_quantity":22,"inventory_management":"shopify","inventory_policy":"deny","barcode":""}],"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" ); */