var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7296711065806,"title":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea","handle":"untitled-dec2_15-25","description":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e","published_at":"2023-12-03T10:49:34+02:00","created_at":"2023-12-02T15:25:43+02:00","vendor":"NassifMD","type":"","tags":[],"price":44500,"price_min":44500,"price_max":86200,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42547455131854,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 60ml","public_title":"60ml","options":["60ml"],"price":44500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547459686606,"title":"180ml","option1":"180ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 180ml","public_title":"180ml","options":["180ml"],"price":86200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","options":["Size"],"media":[{"alt":null,"id":28150506881230,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7296711065806,"title":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea","handle":"untitled-dec2_15-25","description":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e","published_at":"2023-12-03T10:49:34+02:00","created_at":"2023-12-02T15:25:43+02:00","vendor":"NassifMD","type":"","tags":[],"price":44500,"price_min":44500,"price_max":86200,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42547455131854,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 60ml","public_title":"60ml","options":["60ml"],"price":44500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547459686606,"title":"180ml","option1":"180ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 180ml","public_title":"180ml","options":["180ml"],"price":86200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","options":["Size"],"media":[{"alt":null,"id":28150506881230,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e"});
// Add label if only one product option and it isn't 'Title'. Could be 'Size'.
$('.selector-wrapper:eq(0)').prepend('');
// Hide selectors if we only have 1 variant and its title contains 'Default'.
// Auto-select first available variant on page load. Otherwise the product looks sold out.
$('.single-option-selector:eq(0)').val("60ml").trigger('change');
var json_product = {"id":7296711065806,"title":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea","handle":"untitled-dec2_15-25","description":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e","published_at":"2023-12-03T10:49:34+02:00","created_at":"2023-12-02T15:25:43+02:00","vendor":"NassifMD","type":"","tags":[],"price":44500,"price_min":44500,"price_max":86200,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42547455131854,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 60ml","public_title":"60ml","options":["60ml"],"price":44500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547459686606,"title":"180ml","option1":"180ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | PURE HYDRATION GENTLE CLEANSER pH Balanced with Matcha Tea - 180ml","public_title":"180ml","options":["180ml"],"price":86200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","options":["Size"],"media":[{"alt":null,"id":28150506881230,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/492AF6E0-A3AE-46ED-A876-8989AC7F6EA0.jpg?v=1701524389","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan\u003eA gentle, emollient cleanser that effectively removes all traces of makeup, dirt and oil.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e180ml OR 60ml\u003c\/span\u003e\u003c\/p\u003e"};
console.log(json_product);
});