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":10652762247,"title":"SB118","handle":"sb118","description":"\u003cp\u003e\u003c\/p\u003e","published_at":"2017-06-27T13:15:58+02:00","created_at":"2017-06-27T13:15:58+02:00","vendor":"SISSY BOY EYEWEAR","type":"SB01P","tags":["Acetate","BS-15","DESIGNER-BRANDS","EH-38","ES-51","Full-rim","Ladies","NEW","Optical","R501-R1000","Rectangular","SISSY-BOY-EYEWEAR","TS-138"],"price":58500,"price_min":58500,"price_max":59900,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":45754780295,"title":"crystal brown \/ COL30 \/ SB01P","option1":"crystal brown","option2":"COL30","option3":"SB01P","sku":"SB118\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB118 - crystal brown \/ COL30 \/ SB01P","public_title":"crystal brown \/ COL30 \/ SB01P","options":["crystal brown","COL30","SB01P"],"price":59900,"weight":0,"compare_at_price":null,"inventory_quantity":112,"inventory_management":null,"inventory_policy":"continue","barcode":"118305115138"},{"id":62540087303,"title":"crystal burgundy \/ COL80 \/ SB01P","option1":"crystal burgundy","option2":"COL80","option3":"SB01P","sku":"SB118\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB118 - crystal burgundy \/ COL80 \/ SB01P","public_title":"crystal burgundy \/ COL80 \/ SB01P","options":["crystal burgundy","COL80","SB01P"],"price":58500,"weight":0,"compare_at_price":null,"inventory_quantity":86,"inventory_management":null,"inventory_policy":"continue","barcode":"118805115138"},{"id":62540152839,"title":"crystal black\/ blue \/ COL50 \/ SB01P","option1":"crystal black\/ blue","option2":"COL50","option3":"SB01P","sku":"SB118\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB118 - crystal black\/ blue \/ COL50 \/ SB01P","public_title":"crystal black\/ blue \/ COL50 \/ SB01P","options":["crystal black\/ blue","COL50","SB01P"],"price":58500,"weight":0,"compare_at_price":null,"inventory_quantity":78,"inventory_management":null,"inventory_policy":"continue","barcode":"118505115138"}],"images":[],"featured_image":null,"options":["Colour","Code","ItemGroup"],"content":"\u003cp\u003e\u003c\/p\u003e"}, 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" ); */