sold_out : "Sold Out",
unavailable : "Unavailable"
}
});
};
jQuery(function($) {
new Shopify.OptionSelectors('productSelect', {
product: {"id":9819590668,"title":"Coasters - Round 95x95x3mm","handle":"coasters-round-95x95x3mm","description":"wooden coasters","published_at":"2017-03-02T11:46:00+02:00","created_at":"2017-03-02T11:46:59+02:00","vendor":"Buzz Wood Creations","type":"Wooden coasters","tags":[],"price":300,"price_min":300,"price_max":300,"available":true,"price_varies":false,"compare_at_price":345,"compare_at_price_min":345,"compare_at_price_max":345,"compare_at_price_varies":false,"variants":[{"id":35156934668,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"1149","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Coasters - Round 95x95x3mm","public_title":null,"options":["Default Title"],"price":300,"weight":0,"compare_at_price":345,"inventory_quantity":2150,"inventory_management":"shopify","inventory_policy":"continue","barcode":""}],"images":["\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/images_9871d66d-d441-4d07-bf30-7d9390cd64ac.jpg?v=1579813561"],"featured_image":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/images_9871d66d-d441-4d07-bf30-7d9390cd64ac.jpg?v=1579813561","options":["Title"],"media":[{"alt":"BUZZ WOOD CREATIONS(PTY)LTD - BUZZ WOOD CREATIONS","id":370296520777,"position":1,"preview_image":{"aspect_ratio":1.208,"height":149,"width":180,"src":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/images_9871d66d-d441-4d07-bf30-7d9390cd64ac.jpg?v=1579813561"},"aspect_ratio":1.208,"height":149,"media_type":"image","src":"\/\/www.buzzartcreations.co.za\/cdn\/shop\/products\/images_9871d66d-d441-4d07-bf30-7d9390cd64ac.jpg?v=1579813561","width":180}],"content":"wooden coasters"},
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();
});