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":10966199623,"title":"RP2122","handle":"rp2122","description":"","published_at":"2017-07-31T13:48:37+02:00","created_at":"2017-07-31T13:48:37+02:00","vendor":"RIPPLE EYEWEAR","type":"RP07P","tags":["BS-15","EH-29","ES-40","Full-rim","Kids","NEW","Optical","Oval","R101-R300","RIPPLE-EYEWEAR","STYLISH-GENERIC-COLLECTIONS","TR90-lightweight-plastic","TS-120"],"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":49771705031,"title":"PURPLE \/ COL70 \/ RP07P","option1":"PURPLE","option2":"COL70","option3":"RP07P","sku":"RP2122\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2122 - PURPLE \/ COL70 \/ RP07P","public_title":"PURPLE \/ COL70 \/ RP07P","options":["PURPLE","COL70","RP07P"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":100,"inventory_management":"shopify","inventory_policy":"continue","barcode":""},{"id":62527963143,"title":"BLUE \/ COL60 \/ RP07P","option1":"BLUE","option2":"COL60","option3":"RP07P","sku":"RP2122\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2122 - BLUE \/ COL60 \/ RP07P","public_title":"BLUE \/ COL60 \/ RP07P","options":["BLUE","COL60","RP07P"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":99,"inventory_management":"shopify","inventory_policy":"continue","barcode":""},{"id":62527995911,"title":"WHITE \u0026 BLUE \/ COL20 \/ RP07P","option1":"WHITE \u0026 BLUE","option2":"COL20","option3":"RP07P","sku":"RP2122\/20","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2122 - WHITE \u0026 BLUE \/ COL20 \/ RP07P","public_title":"WHITE \u0026 BLUE \/ COL20 \/ RP07P","options":["WHITE \u0026 BLUE","COL20","RP07P"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":100,"inventory_management":"shopify","inventory_policy":"continue","barcode":""},{"id":62528028679,"title":"PINK \u0026 PURPLE \/ COL15 \/ RP07P","option1":"PINK \u0026 PURPLE","option2":"COL15","option3":"RP07P","sku":"RP2122\/15","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2122 - PINK \u0026 PURPLE \/ COL15 \/ RP07P","public_title":"PINK \u0026 PURPLE \/ COL15 \/ RP07P","options":["PINK \u0026 PURPLE","COL15","RP07P"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":99,"inventory_management":"shopify","inventory_policy":"continue","barcode":""}],"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" ); */