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":11210497287,"title":"RP2017","handle":"rp2017","description":"","published_at":"2017-08-25T11:18:03+02:00","created_at":"2017-08-25T11:18:03+02:00","vendor":"RIPPLE EYEWEAR","type":"RP12","tags":["BS-19","EH-35","ES-51","Mens","OPTICAL","R101-R300","RIPPLE-EYEWEAR","Semi-rimless","Square","Stainless-steel","STYLISH-GENERIC-COLLECTIONS","TS-140"],"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":52053020551,"title":"M.BLK+ANTI BRN \/ COL40 \/ RP12","option1":"M.BLK+ANTI BRN","option2":"COL40","option3":"RP12","sku":"RP2017\/40","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2017 - M.BLK+ANTI BRN \/ COL40 \/ RP12","public_title":"M.BLK+ANTI BRN \/ COL40 \/ RP12","options":["M.BLK+ANTI BRN","COL40","RP12"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":63,"inventory_management":"shopify","inventory_policy":"continue","barcode":"0"},{"id":62520295431,"title":"ANTI BRN+M BLK \/ COL30 \/ RP12","option1":"ANTI BRN+M BLK","option2":"COL30","option3":"RP12","sku":"RP2017\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2017 - ANTI BRN+M BLK \/ COL30 \/ RP12","public_title":"ANTI BRN+M BLK \/ COL30 \/ RP12","options":["ANTI BRN+M BLK","COL30","RP12"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":83,"inventory_management":"shopify","inventory_policy":"continue","barcode":"0"},{"id":62520328199,"title":"ANTI GUN+M BLK \/ COL50 \/ RP12","option1":"ANTI GUN+M BLK","option2":"COL50","option3":"RP12","sku":"RP2017\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"RP2017 - ANTI GUN+M BLK \/ COL50 \/ RP12","public_title":"ANTI GUN+M BLK \/ COL50 \/ RP12","options":["ANTI GUN+M BLK","COL50","RP12"],"price":21500,"weight":0,"compare_at_price":null,"inventory_quantity":84,"inventory_management":"shopify","inventory_policy":"continue","barcode":"0"}],"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" ); */