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":548812849201,"title":"BV2427","handle":"bv2427","description":"","published_at":"2018-03-22T09:16:26+02:00","created_at":"2018-03-22T09:16:26+02:00","vendor":"BAVINO EYEWEAR","type":"RPP011","tags":["BAVINO-EYEWEAR","BS-17","EH-29","ES-50","Ladies","NEW","Nicol-allergy-free-metal","OPTICAL","Oval","R301-R500","Semi-rimless","TREND-COLLECTIONS","TS-135"],"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":7318238920753,"title":"D.Purple and L.Purple \/ COL70 \/ RPP011","option1":"D.Purple and L.Purple","option2":"COL70","option3":"RPP011","sku":"BV2427\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2427 - D.Purple and L.Purple \/ COL70 \/ RPP011","public_title":"D.Purple and L.Purple \/ COL70 \/ RPP011","options":["D.Purple and L.Purple","COL70","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":61,"inventory_management":null,"inventory_policy":"deny","barcode":"2427705017350"},{"id":7318238953521,"title":"D.Blue and S.R.Gold \/ COL60 \/ RPP011","option1":"D.Blue and S.R.Gold","option2":"COL60","option3":"RPP011","sku":"BV2427\/60","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2427 - D.Blue and S.R.Gold \/ COL60 \/ RPP011","public_title":"D.Blue and S.R.Gold \/ COL60 \/ RPP011","options":["D.Blue and S.R.Gold","COL60","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":61,"inventory_management":null,"inventory_policy":"deny","barcode":"2427605017350"},{"id":7318238986289,"title":"D.Burgundy and S.R.Gold \/ COL80 \/ RPP011","option1":"D.Burgundy and S.R.Gold","option2":"COL80","option3":"RPP011","sku":"BV2427\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2427 - D.Burgundy and S.R.Gold \/ COL80 \/ RPP011","public_title":"D.Burgundy and S.R.Gold \/ COL80 \/ RPP011","options":["D.Burgundy and S.R.Gold","COL80","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":60,"inventory_management":null,"inventory_policy":"deny","barcode":"2427805017350"},{"id":7318239019057,"title":"D.Brown and S.Gold \/ COL30 \/ RPP011","option1":"D.Brown and S.Gold","option2":"COL30","option3":"RPP011","sku":"BV2427\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2427 - D.Brown and S.Gold \/ COL30 \/ RPP011","public_title":"D.Brown and S.Gold \/ COL30 \/ RPP011","options":["D.Brown and S.Gold","COL30","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":51,"inventory_management":null,"inventory_policy":"deny","barcode":"2427305017350"},{"id":7318239051825,"title":"Black and S.R.Gold \/ COL50 \/ RPP011","option1":"Black and S.R.Gold","option2":"COL50","option3":"RPP011","sku":"BV2427\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2427 - Black and S.R.Gold \/ COL50 \/ RPP011","public_title":"Black and S.R.Gold \/ COL50 \/ RPP011","options":["Black and S.R.Gold","COL50","RPP011"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":27,"inventory_management":null,"inventory_policy":"deny","barcode":"2427505017350"}],"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" ); */