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":10660055943,"title":"RP1833","handle":"rp1833","description":"\u003cp\u003e\u003c\/p\u003e","published_at":"2017-06-28T14:50:07+02:00","created_at":"2017-06-28T14:50:07+02:00","vendor":"RIPPLE EYEWEAR","type":"RP07M","tags":["BS-15","EH-28","ES-47","FULL-RIM","KIDS","METAL","NEW","OPTICAL","R101-R300","RECTANGULAR","RIPPLE-EYEWEAR","STYLISH-GENERIC-COLLECTIONS","TS-132"],"price":21500,"price_min":21500,"price_max":21500,"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":45874636487,"title":"MATTE BLACK \/ COL50 \/ RP07M","option1":"MATTE BLACK","option2":"COL50","option3":"RP07M","sku":"RP1833\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP1833 - MATTE BLACK \/ COL50 \/ RP07M","public_title":"MATTE BLACK \/ COL50 \/ RP07M","options":["MATTE BLACK","COL50","RP07M"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":70,"inventory_management":null,"inventory_policy":"continue","barcode":"1833504715130"},{"id":62536876039,"title":"MATTE PURPLE \/ COL70 \/ RP07M","option1":"MATTE PURPLE","option2":"COL70","option3":"RP07M","sku":"RP1833\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP1833 - MATTE PURPLE \/ COL70 \/ RP07M","public_title":"MATTE PURPLE \/ COL70 \/ RP07M","options":["MATTE PURPLE","COL70","RP07M"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":70,"inventory_management":null,"inventory_policy":"continue","barcode":"1833704715130"},{"id":62536908807,"title":"MATTE BROWN \/ COL30 \/ RP07M","option1":"MATTE BROWN","option2":"COL30","option3":"RP07M","sku":"RP1833\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP1833 - MATTE BROWN \/ COL30 \/ RP07M","public_title":"MATTE BROWN \/ COL30 \/ RP07M","options":["MATTE BROWN","COL30","RP07M"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":70,"inventory_management":null,"inventory_policy":"continue","barcode":"1833304715130"}],"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" ); */