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":11467183495,"title":"RP CASE","handle":"rp-case","description":"","published_at":"2017-10-02T16:47:38+02:00","created_at":"2017-10-02T16:47:38+02:00","vendor":"RIPPLE EYEWEAR","type":"RP CASE","tags":["Cases","NEW","R0-R100","RIPPLE-EYEWEAR","STYLISH-GENERIC-COLLECTIONS"],"price":1600,"price_min":1600,"price_max":1600,"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":54420602695,"title":"RP CASE\/BLUE \/ No Colour Code \/ RP CASE","option1":"RP CASE\/BLUE","option2":"No Colour Code","option3":"RP CASE","sku":"RP CASE\/BLUE","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP CASE - RP CASE\/BLUE \/ No Colour Code \/ RP CASE","public_title":"RP CASE\/BLUE \/ No Colour Code \/ RP CASE","options":["RP CASE\/BLUE","No Colour Code","RP CASE"],"price":1600,"weight":0,"compare_at_price":null,"inventory_quantity":117,"inventory_management":"shopify","inventory_policy":"continue","barcode":""},{"id":62511022087,"title":"RP CASE\/BLK \/ No Colour Code \/ RP CASE","option1":"RP CASE\/BLK","option2":"No Colour Code","option3":"RP CASE","sku":"RP CASE\/BLK","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP CASE - RP CASE\/BLK \/ No Colour Code \/ RP CASE","public_title":"RP CASE\/BLK \/ No Colour Code \/ RP CASE","options":["RP CASE\/BLK","No Colour Code","RP CASE"],"price":1600,"weight":0,"compare_at_price":null,"inventory_quantity":120,"inventory_management":"shopify","inventory_policy":"continue","barcode":""},{"id":62511054855,"title":"RP CASE\/RED \/ No Colour Code \/ RP CASE","option1":"RP CASE\/RED","option2":"No Colour Code","option3":"RP CASE","sku":"RP CASE\/RED","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP CASE - RP CASE\/RED \/ No Colour Code \/ RP CASE","public_title":"RP CASE\/RED \/ No Colour Code \/ RP CASE","options":["RP CASE\/RED","No Colour Code","RP CASE"],"price":1600,"weight":0,"compare_at_price":null,"inventory_quantity":118,"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" ); */