var selectCallbackProduct = function(variant, selector) {
novtheme.productPage({
money_format: theme.moneyFormat,
variant: variant,
selector: selector
})
};
$(document).ready(function() {
new Shopify.OptionSelectors('productSelect', {
product: {"id":7106843672782,"title":"NOTEBOOK | Whitewood \u0026 Vetiver","handle":"whitewood-vetiver","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:33:10+02:00","created_at":"2022-10-07T10:33:10+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":41562893680846,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Whitewood \u0026 Vetiver","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"93680846","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","options":["Title"],"media":[{"alt":null,"id":24291382984910,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\u003c\/span\u003e\u003cbr\u003e"},
onVariantSelected: selectCallbackProduct,
enableHistoryState: true
});
Shopify.linkOptionSelectors({"id":7106843672782,"title":"NOTEBOOK | Whitewood \u0026 Vetiver","handle":"whitewood-vetiver","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:33:10+02:00","created_at":"2022-10-07T10:33:10+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":41562893680846,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Whitewood \u0026 Vetiver","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"93680846","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","options":["Title"],"media":[{"alt":null,"id":24291382984910,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\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":7106843672782,"title":"NOTEBOOK | Whitewood \u0026 Vetiver","handle":"whitewood-vetiver","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\u003c\/span\u003e\u003cbr\u003e","published_at":"2022-10-07T10:33:10+02:00","created_at":"2022-10-07T10:33:10+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":41562893680846,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ABJ","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"NOTEBOOK | Whitewood \u0026 Vetiver","public_title":null,"options":["Default Title"],"price":59500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"93680846","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"],"featured_image":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","options":["Title"],"media":[{"alt":null,"id":24291382984910,"position":1,"preview_image":{"aspect_ratio":1.0,"height":500,"width":500,"src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611"},"aspect_ratio":1.0,"height":500,"media_type":"image","src":"\/\/www.wiinkcosmetics.com\/cdn\/shop\/products\/hjh_zx.jpg?v=1665131611","width":500}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan data-mce-fragment=\"1\"\u003eNotebook White Wood \u0026amp; Vetiver Eau De Toilette 100ml evokes the intrepid spirit of the born adventurer. Take on wide open spaces with its unmistakably fresh, light scent anchored by bleached wood and full-bodied vetiver accords.\u003c\/span\u003e\u003cbr\u003e"};
console.log(json_product);
});