var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7106845573326,"title":"NOTEBOOK | Patchouly \u0026 Cedar Wood","handle":"patchouly-cedar-wood","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:34:28+02:00","created_at":"2022-10-07T10:34:28+02:00","vendor":"Notebook","type":"","tags":["Fragrance"],"price":59500,"price_min":59500,"price_max":59500,"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":41562899775694,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Patchouly \u0026 Cedar Wood","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"99775694","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","options":["Title"],"media":[{"alt":null,"id":24291394191566,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7106845573326,"title":"NOTEBOOK | Patchouly \u0026 Cedar Wood","handle":"patchouly-cedar-wood","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:34:28+02:00","created_at":"2022-10-07T10:34:28+02:00","vendor":"Notebook","type":"","tags":["Fragrance"],"price":59500,"price_min":59500,"price_max":59500,"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":41562899775694,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Patchouly \u0026 Cedar Wood","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"99775694","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","options":["Title"],"media":[{"alt":null,"id":24291394191566,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\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":7106845573326,"title":"NOTEBOOK | Patchouly \u0026 Cedar Wood","handle":"patchouly-cedar-wood","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:34:28+02:00","created_at":"2022-10-07T10:34:28+02:00","vendor":"Notebook","type":"","tags":["Fragrance"],"price":59500,"price_min":59500,"price_max":59500,"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":41562899775694,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Patchouly \u0026 Cedar Wood","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"99775694","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","options":["Title"],"media":[{"alt":null,"id":24291394191566,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hhjhhod.jpg?v=1665131685","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook Patchouli \u0026amp; Cedarwood Eau De Toilette 100ml was crafted with the grounded outdoorsman in mind. Its bold aromatic profile combines the dynamism of earthy patchouli with smouldering cedarwood for a rich scent that intrigues and exhilarates.\u003c\/span\u003e\u003cbr\u003e"};
console.log(json_product);
});