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":548812619825,"title":"BV2426","handle":"bv2426","description":"","published_at":"2018-03-22T09:16:05+02:00","created_at":"2018-03-22T09:16:05+02:00","vendor":"BAVINO EYEWEAR","type":"RPP011","tags":["BAVINO-EYEWEAR","BS-19","EH-38","ES-60","Mens","NEW","Nicol-allergy-free-metal","OPTICAL","R301-R500","Semi-rimless","TREND-COLLECTIONS","TS-150","Wayfarer"],"price":38500,"price_min":38500,"price_max":38500,"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":7318238167089,"title":"Black and Silver \/ COL50 \/ RPP011","option1":"Black and Silver","option2":"COL50","option3":"RPP011","sku":"BV2426\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2426 - Black and Silver \/ COL50 \/ RPP011","public_title":"Black and Silver \/ COL50 \/ RPP011","options":["Black and Silver","COL50","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":100,"inventory_management":null,"inventory_policy":"deny","barcode":"2426506019500"},{"id":7318238199857,"title":"Brush Gun and Black \/ COL40 \/ RPP011","option1":"Brush Gun and Black","option2":"COL40","option3":"RPP011","sku":"BV2426\/40","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2426 - Brush Gun and Black \/ COL40 \/ RPP011","public_title":"Brush Gun and Black \/ COL40 \/ RPP011","options":["Brush Gun and Black","COL40","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":100,"inventory_management":null,"inventory_policy":"deny","barcode":"2426406019500"},{"id":7318238232625,"title":"Brush Brown \/ COL30 \/ RPP011","option1":"Brush Brown","option2":"COL30","option3":"RPP011","sku":"BV2426\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2426 - Brush Brown \/ COL30 \/ RPP011","public_title":"Brush Brown \/ COL30 \/ RPP011","options":["Brush Brown","COL30","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":101,"inventory_management":null,"inventory_policy":"deny","barcode":"2426306019500"}],"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" ); */