var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7088019865806,"title":"Comfort Zone | Must Have Kit","handle":"comfort-zone-must-haves-kit","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e","published_at":"2022-09-12T13:33:21+02:00","created_at":"2022-09-12T13:33:21+02:00","vendor":"Comfort Zone","type":"","tags":["Skincare"],"price":49500,"price_min":49500,"price_max":49500,"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":41496150114510,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Comfort Zone | Must Have Kit","public_title":null,"options":["Default Title"],"price":49500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"50114510","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","options":["Title"],"media":[{"alt":null,"id":24122298826958,"position":1,"preview_image":{"aspect_ratio":0.998,"height":1024,"width":1022,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"},"aspect_ratio":0.998,"height":1024,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","width":1022}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7088019865806,"title":"Comfort Zone | Must Have Kit","handle":"comfort-zone-must-haves-kit","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e","published_at":"2022-09-12T13:33:21+02:00","created_at":"2022-09-12T13:33:21+02:00","vendor":"Comfort Zone","type":"","tags":["Skincare"],"price":49500,"price_min":49500,"price_max":49500,"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":41496150114510,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Comfort Zone | Must Have Kit","public_title":null,"options":["Default Title"],"price":49500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"50114510","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","options":["Title"],"media":[{"alt":null,"id":24122298826958,"position":1,"preview_image":{"aspect_ratio":0.998,"height":1024,"width":1022,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"},"aspect_ratio":0.998,"height":1024,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","width":1022}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e"});
// 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();
// Auto-select first available variant on page load. Otherwise the product looks sold out.
$('.single-option-selector:eq(0)').val("Default Title").trigger('change');
var json_product = {"id":7088019865806,"title":"Comfort Zone | Must Have Kit","handle":"comfort-zone-must-haves-kit","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e","published_at":"2022-09-12T13:33:21+02:00","created_at":"2022-09-12T13:33:21+02:00","vendor":"Comfort Zone","type":"","tags":["Skincare"],"price":49500,"price_min":49500,"price_max":49500,"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":41496150114510,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Comfort Zone | Must Have Kit","public_title":null,"options":["Default Title"],"price":49500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"50114510","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","options":["Title"],"media":[{"alt":null,"id":24122298826958,"position":1,"preview_image":{"aspect_ratio":0.998,"height":1024,"width":1022,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428"},"aspect_ratio":0.998,"height":1024,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/Must-haves-kit-1022x1024.jpg?v=1662982428","width":1022}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eTranquillity Body Lotion 50ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eHydramemory Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRemedy Defense Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eSublime Skin Cream 15ml\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eRenight Cream 15ml\u003c\/span\u003e\u003cbr\u003e\u003cmeta charset=\"utf-8\"\u003e\u003c\/p\u003e"};
console.log(json_product);
});