var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7296349929678,"title":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film","handle":"untitled-dec1_17-6","description":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e","published_at":"2023-12-03T10:44:26+02:00","created_at":"2023-12-01T17:06:49+02:00","vendor":"NassifMD","type":"","tags":[],"price":117400,"price_min":117400,"price_max":213900,"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":42547574571214,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 60ml","public_title":"60ml","options":["60ml"],"price":213900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547574603982,"title":"30ml","option1":"30ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 30ml","public_title":"30ml","options":["30ml"],"price":117400,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","options":["Size"],"media":[{"alt":null,"id":28125792370894,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7296349929678,"title":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film","handle":"untitled-dec1_17-6","description":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e","published_at":"2023-12-03T10:44:26+02:00","created_at":"2023-12-01T17:06:49+02:00","vendor":"NassifMD","type":"","tags":[],"price":117400,"price_min":117400,"price_max":213900,"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":42547574571214,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 60ml","public_title":"60ml","options":["60ml"],"price":213900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547574603982,"title":"30ml","option1":"30ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 30ml","public_title":"30ml","options":["30ml"],"price":117400,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","options":["Size"],"media":[{"alt":null,"id":28125792370894,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e"});
// Add label if only one product option and it isn't 'Title'. Could be 'Size'.
$('.selector-wrapper:eq(0)').prepend('
Size ');
// 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":7296349929678,"title":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film","handle":"untitled-dec1_17-6","description":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e","published_at":"2023-12-03T10:44:26+02:00","created_at":"2023-12-01T17:06:49+02:00","vendor":"NassifMD","type":"","tags":[],"price":117400,"price_min":117400,"price_max":213900,"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":42547574571214,"title":"60ml","option1":"60ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 60ml","public_title":"60ml","options":["60ml"],"price":213900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42547574603982,"title":"30ml","option1":"30ml","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | HYDRO-SCREEN® HYDRATING SERUM with Hyaluronic Filling Spheres \u0026 Ceramide Molecular Film - 30ml","public_title":"30ml","options":["30ml"],"price":117400,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","options":["Size"],"media":[{"alt":null,"id":28125792370894,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/9AF09E3C-6125-4D3B-A826-AD61F2C58029.jpg?v=1701444098","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eAn advanced technology, age-defying hybrid serum \u0026amp; moisturizer for the face and body.\u003cbr\u003eThe multi-tasking, silky-smooth, essential skin treatment.\u003c\/p\u003e\n\u003cp\u003e30ml \u0026amp; 60ml \u003c\/p\u003e"};
console.log(json_product);
});