new Shopify.OptionSelectors("product-select-165439933", { product: filterVariants({"id":165439933,"title":"Geometry Solid Ladder","handle":"geometry-solid-ladder-1","description":"\u003cp\u003eA square hardwood base with 25 wooden cylinders. 5 red, 5 green, 5 blue, 5 yellow and 5 orange pieces. The cylinders vary in height!\u003c\/p\u003e\n\u003cp\u003eA mathematical exploration of height and colour. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e from 3 years onwards\u003c\/p\u003e","published_at":"2014-08-31T20:20:00+10:00","created_at":"2013-10-17T09:35:23+10:00","vendor":"I AM Montessori","type":"Other","tags":[],"price":4200,"price_min":4200,"price_max":4200,"available":false,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":380122601,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Geometry Solid Ladder","public_title":null,"options":["Default Title"],"price":4200,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"deny","barcode":""}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/0274\/9811\/products\/geometry_solid_ladder.png?v=1381966524"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/0274\/9811\/products\/geometry_solid_ladder.png?v=1381966524","options":["Title"],"media":[{"alt":null,"id":9897148497,"position":1,"preview_image":{"aspect_ratio":1.0,"height":445,"width":445,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0274\/9811\/products\/geometry_solid_ladder.png?v=1568679296"},"aspect_ratio":1.0,"height":445,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0274\/9811\/products\/geometry_solid_ladder.png?v=1568679296","width":445}],"content":"\u003cp\u003eA square hardwood base with 25 wooden cylinders. 5 red, 5 green, 5 blue, 5 yellow and 5 orange pieces. The cylinders vary in height!\u003c\/p\u003e\n\u003cp\u003eA mathematical exploration of height and colour. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e from 3 years onwards\u003c\/p\u003e"}), onVariantSelected: selectCallback });
// 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.
});
jQuery(document).ready(function($){
// Initialize popup as usual
$('.slides').magnificPopup({
delegate: 'a',
type: 'image',
closeOnContentClick: false,
closeBtnInside: false,
mainClass: 'mfp-with-zoom mfp-img-mobile',
image: {
verticalFit: true
},
gallery: {
enabled: true
},
zoom: {
enabled: true,
duration: 300, // don't foget to change the duration also in CSS
opener: function(element) {
return element.find('img');
}
}
});
});