var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7296338788558,"title":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","handle":"quickfix-instant-wrinkle-smoother","description":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\u003c\/p\u003e","published_at":"2023-12-01T16:56:51+02:00","created_at":"2023-12-01T16:55:50+02:00","vendor":"NassifMD","type":"","tags":[],"price":97200,"price_min":97200,"price_max":97200,"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":42297301860558,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","public_title":null,"options":["Default Title"],"price":97200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","options":["Title"],"media":[{"alt":null,"id":28296650096846,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","width":1080}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\u003c\/p\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7296338788558,"title":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","handle":"quickfix-instant-wrinkle-smoother","description":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\u003c\/p\u003e","published_at":"2023-12-01T16:56:51+02:00","created_at":"2023-12-01T16:55:50+02:00","vendor":"NassifMD","type":"","tags":[],"price":97200,"price_min":97200,"price_max":97200,"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":42297301860558,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","public_title":null,"options":["Default Title"],"price":97200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","options":["Title"],"media":[{"alt":null,"id":28296650096846,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","width":1080}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\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":7296338788558,"title":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","handle":"quickfix-instant-wrinkle-smoother","description":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\u003c\/p\u003e","published_at":"2023-12-01T16:56:51+02:00","created_at":"2023-12-01T16:55:50+02:00","vendor":"NassifMD","type":"","tags":[],"price":97200,"price_min":97200,"price_max":97200,"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":42297301860558,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NassifMD | QUICKFIX INSTANT WRINKLE SMOOTHER with Glycoin","public_title":null,"options":["Default Title"],"price":97200,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","options":["Title"],"media":[{"alt":null,"id":28296650096846,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/files\/IMG-0011.png?v=1705341169","width":1080}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003eA fast-acting, skin tightening treatment that temporarily smooths and enhances the skin’s appearance.\u003c\/p\u003e\n\u003cp\u003e15ml\u003c\/p\u003e"};
console.log(json_product);
});