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":112671850503,"title":"BV2414","handle":"bv2414","description":null,"published_at":"2017-12-08T17:17:42+02:00","created_at":"2017-12-08T17:17:42+02:00","vendor":"BAVINO EYEWEAR","type":"RPP1","tags":["BAVINO-EYEWEAR","BS-17","EH-39","ES-46","Full-rim","Ladies","Metal","NEW","Optical","Oval","R301-R500","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":1114531823623,"title":"purple\/ shiny dark gunmetal \/ COL70 \/ RPP1","option1":"purple\/ shiny dark gunmetal","option2":"COL70","option3":"RPP1","sku":"BV2414\/70","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2414 - purple\/ shiny dark gunmetal \/ COL70 \/ RPP1","public_title":"purple\/ shiny dark gunmetal \/ COL70 \/ RPP1","options":["purple\/ shiny dark gunmetal","COL70","RPP1"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":116,"inventory_management":"shopify","inventory_policy":"continue","barcode":"2414704617132"},{"id":1114531856391,"title":"brown \/ matt gold \/ COL30 \/ RPP1","option1":"brown \/ matt gold","option2":"COL30","option3":"RPP1","sku":"BV2414\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2414 - brown \/ matt gold \/ COL30 \/ RPP1","public_title":"brown \/ matt gold \/ COL30 \/ RPP1","options":["brown \/ matt gold","COL30","RPP1"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":113,"inventory_management":"shopify","inventory_policy":"continue","barcode":"2414304617136"},{"id":1114531889159,"title":"matt burgundy\/ shiny dark gunmetal \/ COL80 \/ RPP1","option1":"matt burgundy\/ shiny dark gunmetal","option2":"COL80","option3":"RPP1","sku":"BV2414\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BV2414 - matt burgundy\/ shiny dark gunmetal \/ COL80 \/ RPP1","public_title":"matt burgundy\/ shiny dark gunmetal \/ COL80 \/ RPP1","options":["matt burgundy\/ shiny dark gunmetal","COL80","RPP1"],"price":38500,"weight":0,"compare_at_price":null,"inventory_quantity":51,"inventory_management":"shopify","inventory_policy":"continue","barcode":"2414804617131"}],"images":[],"featured_image":null,"options":["Colour","Code","ItemGroup"],"content":null}, 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" ); */