sold_out : "Sold Out",
unavailable : "Unavailable"
}
});
};
jQuery(function($) {
new Shopify.OptionSelectors('productSelect', {
product: {"id":787384598638,"title":"21st Key 120x40x3mm","handle":"21st-key-120x40x3mm","description":"mdf blanks,laser cut","published_at":"2018-07-14T16:29:57+02:00","created_at":"2018-07-14T16:29:57+02:00","vendor":"BUZZ WOOD CREATIONS(PTY)LTD","type":"mdf blanks","tags":[],"price":1358,"price_min":1358,"price_max":1358,"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":8736084033646,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"10051","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"21st Key 120x40x3mm","public_title":null,"options":["Default Title"],"price":1358,"weight":10,"compare_at_price":null,"inventory_quantity":100,"inventory_management":"shopify","inventory_policy":"deny","barcode":""}],"images":["\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/10051.jpg?v=1579810922"],"featured_image":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/10051.jpg?v=1579810922","options":["Title"],"media":[{"alt":"BUZZ WOOD CREATIONS(PTY)LTD - BUZZ WOOD CREATIONS","id":1736055652425,"position":1,"preview_image":{"aspect_ratio":2.21,"height":200,"width":442,"src":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/10051.jpg?v=1579810922"},"aspect_ratio":2.21,"height":200,"media_type":"image","src":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/10051.jpg?v=1579810922","width":442}],"content":"mdf blanks,laser cut"},
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'.
$('.selector-wrapper').hide();
});