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":10652757511,"title":"SB140","handle":"sb140","description":"","published_at":"2017-06-27T13:15:28+02:00","created_at":"2017-06-27T13:15:28+02:00","vendor":"SISSY BOY EYEWEAR","type":"SB01MS","tags":["BS-17","Cat-Eye","DESIGNER-BRANDS","EH-39","ES-52","Ladies","Metal","NEW","Optical","R501-R1000","Semi-rimless","SISSY-BOY-EYEWEAR","TS-135"],"price":58500,"price_min":58500,"price_max":58500,"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":45754734663,"title":"matte brown\/ shiny gold \/ COL30 \/ SB01MS","option1":"matte brown\/ shiny gold","option2":"COL30","option3":"SB01MS","sku":"SB140\/30","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB140 - matte brown\/ shiny gold \/ COL30 \/ SB01MS","public_title":"matte brown\/ shiny gold \/ COL30 \/ SB01MS","options":["matte brown\/ shiny gold","COL30","SB01MS"],"price":58500,"weight":0,"compare_at_price":null,"inventory_quantity":120,"inventory_management":"shopify","inventory_policy":"continue","barcode":"140305217135"},{"id":62542839815,"title":"matte black\/ shiny silver \/ COL50 \/ SB01MS","option1":"matte black\/ shiny silver","option2":"COL50","option3":"SB01MS","sku":"SB140\/50","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB140 - matte black\/ shiny silver \/ COL50 \/ SB01MS","public_title":"matte black\/ shiny silver \/ COL50 \/ SB01MS","options":["matte black\/ shiny silver","COL50","SB01MS"],"price":58500,"weight":0,"compare_at_price":null,"inventory_quantity":67,"inventory_management":"shopify","inventory_policy":"continue","barcode":"140505217135"},{"id":62542905351,"title":"matte burgundy\/ shiny gold \/ COL80 \/ SB01MS","option1":"matte burgundy\/ shiny gold","option2":"COL80","option3":"SB01MS","sku":"SB140\/80","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"SB140 - matte burgundy\/ shiny gold \/ COL80 \/ SB01MS","public_title":"matte burgundy\/ shiny gold \/ COL80 \/ SB01MS","options":["matte burgundy\/ shiny gold","COL80","SB01MS"],"price":58500,"weight":0,"compare_at_price":null,"inventory_quantity":40,"inventory_management":"shopify","inventory_policy":"continue","barcode":"140805217135"}],"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" ); */