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":28757000199,"title":"LG239","handle":"lg239","description":"","published_at":"2017-11-01T21:18:34+02:00","created_at":"2017-11-01T21:18:34+02:00","vendor":"LEGEND EYEWEAR","type":"LG03","tags":["Acetate","BS-16","EH-31","ES-48","Full-rim","Ladies","LEGEND-EYEWEAR","NEW","Optical","Oval","R101-R300","STYLISH-GENERIC-COLLECTIONS","TS-128"],"price":16500,"price_min":16500,"price_max":16500,"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":180606173191,"title":"Matte black \/ COL50 \/ LG03","option1":"Matte black","option2":"COL50","option3":"LG03","sku":"LG239\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"LG239 - Matte black \/ COL50 \/ LG03","public_title":"Matte black \/ COL50 \/ LG03","options":["Matte black","COL50","LG03"],"price":16500,"weight":0,"compare_at_price":null,"inventory_quantity":141,"inventory_management":null,"inventory_policy":"continue","barcode":"2395048161280"},{"id":180606205959,"title":"Shiny black\u0026Purple\u0026L.purple \/ COL51 \/ LG03","option1":"Shiny black\u0026Purple\u0026L.purple","option2":"COL51","option3":"LG03","sku":"LG239\/51","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"LG239 - Shiny black\u0026Purple\u0026L.purple \/ COL51 \/ LG03","public_title":"Shiny black\u0026Purple\u0026L.purple \/ COL51 \/ LG03","options":["Shiny black\u0026Purple\u0026L.purple","COL51","LG03"],"price":16500,"weight":0,"compare_at_price":null,"inventory_quantity":140,"inventory_management":null,"inventory_policy":"continue","barcode":"2395148161280"},{"id":180606271495,"title":"BROWN \/ COL31 \/ LG03","option1":"BROWN","option2":"COL31","option3":"LG03","sku":"LG239\/31","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"LG239 - BROWN \/ COL31 \/ LG03","public_title":"BROWN \/ COL31 \/ LG03","options":["BROWN","COL31","LG03"],"price":16500,"weight":0,"compare_at_price":null,"inventory_quantity":77,"inventory_management":null,"inventory_policy":"continue","barcode":"2393146161280"},{"id":180606304263,"title":"Shiny blue\u0026Blue\u0026Trans.blue \/ COL60 \/ LG03","option1":"Shiny blue\u0026Blue\u0026Trans.blue","option2":"COL60","option3":"LG03","sku":"LG239\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"LG239 - Shiny blue\u0026Blue\u0026Trans.blue \/ COL60 \/ LG03","public_title":"Shiny blue\u0026Blue\u0026Trans.blue \/ COL60 \/ LG03","options":["Shiny blue\u0026Blue\u0026Trans.blue","COL60","LG03"],"price":16500,"weight":0,"compare_at_price":null,"inventory_quantity":165,"inventory_management":null,"inventory_policy":"continue","barcode":"2396048161280"},{"id":180606337031,"title":"PURPLE \/ COL71 \/ LG03","option1":"PURPLE","option2":"COL71","option3":"LG03","sku":"LG239\/71","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"LG239 - PURPLE \/ COL71 \/ LG03","public_title":"PURPLE \/ COL71 \/ LG03","options":["PURPLE","COL71","LG03"],"price":16500,"weight":0,"compare_at_price":null,"inventory_quantity":105,"inventory_management":null,"inventory_policy":"continue","barcode":"2397146161280"}],"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" ); */