$(document).ready(function() { $('.more_info_block .page-product-heading li:first, .more_info_block .tab-content section:first').addClass('active'); new Shopify.OptionSelectors('productSelect', { product: {"id":1953526120534,"title":"JULIETTE EARRINGS JE919","handle":"earrings-7","description":"Dangle and drop diamante detail\u003cbr\u003ePierce closure\u003cbr\u003eHeight: 10cm\u003cbr\u003eWidth: 4.5cm","published_at":"2019-02-08T17:00:34+11:00","created_at":"2019-02-01T17:00:14+11:00","vendor":"Bariano","type":"","tags":["accessories","bodycon","color-antique-gold","color-gold","color-green","gold","green","one-size","size-one-size","under-50"],"price":3495,"price_min":3495,"price_max":3495,"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":19513003737174,"title":"One Size \/ GOLD","option1":"One Size","option2":"GOLD","option3":null,"sku":"JE919-139513","requires_shipping":true,"taxable":false,"featured_image":{"id":6656730562646,"product_id":1953526120534,"position":3,"created_at":"2019-02-01T17:00:14+11:00","updated_at":"2019-02-04T17:19:18+11:00","alt":null,"width":800,"height":1024,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424.jpg?v=1549261158","variant_ids":[19513003737174]},"available":true,"name":"JULIETTE EARRINGS JE919 - One Size \/ GOLD","public_title":"One Size \/ GOLD","options":["One Size","GOLD"],"price":3495,"weight":0,"compare_at_price":null,"inventory_quantity":3,"inventory_management":"shopify","inventory_policy":"deny","barcode":null},{"id":19513003769942,"title":"One Size \/ GREEN","option1":"One Size","option2":"GREEN","option3":null,"sku":"JE919-139514","requires_shipping":true,"taxable":false,"featured_image":{"id":6656730660950,"product_id":1953526120534,"position":6,"created_at":"2019-02-01T17:00:21+11:00","updated_at":"2019-02-04T17:19:18+11:00","alt":null,"width":800,"height":1024,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_82959ee8-0173-4f9e-870e-a786562fe094.jpg?v=1549261158","variant_ids":[19513003769942]},"available":true,"name":"JULIETTE EARRINGS JE919 - One Size \/ GREEN","public_title":"One Size \/ GREEN","options":["One Size","GREEN"],"price":3495,"weight":0,"compare_at_price":null,"inventory_quantity":2,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1885.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1864.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424_5ba0c869-879c-49f1-bd1c-eb6572802797.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_82959ee8-0173-4f9e-870e-a786562fe094.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1865.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_fe4083a8-5e82-4944-a930-7288160ec5fa.jpg?v=1549261447"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1885.jpg?v=1549261810","options":["Size","Color"],"content":"Dangle and drop diamante detail\u003cbr\u003ePierce closure\u003cbr\u003eHeight: 10cm\u003cbr\u003eWidth: 4.5cm"}, onVariantSelected: selectCallback, enableHistoryState: true }); Shopify.linkOptionSelectors({"id":1953526120534,"title":"JULIETTE EARRINGS JE919","handle":"earrings-7","description":"Dangle and drop diamante detail\u003cbr\u003ePierce closure\u003cbr\u003eHeight: 10cm\u003cbr\u003eWidth: 4.5cm","published_at":"2019-02-08T17:00:34+11:00","created_at":"2019-02-01T17:00:14+11:00","vendor":"Bariano","type":"","tags":["accessories","bodycon","color-antique-gold","color-gold","color-green","gold","green","one-size","size-one-size","under-50"],"price":3495,"price_min":3495,"price_max":3495,"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":19513003737174,"title":"One Size \/ GOLD","option1":"One Size","option2":"GOLD","option3":null,"sku":"JE919-139513","requires_shipping":true,"taxable":false,"featured_image":{"id":6656730562646,"product_id":1953526120534,"position":3,"created_at":"2019-02-01T17:00:14+11:00","updated_at":"2019-02-04T17:19:18+11:00","alt":null,"width":800,"height":1024,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424.jpg?v=1549261158","variant_ids":[19513003737174]},"available":true,"name":"JULIETTE EARRINGS JE919 - One Size \/ GOLD","public_title":"One Size \/ GOLD","options":["One Size","GOLD"],"price":3495,"weight":0,"compare_at_price":null,"inventory_quantity":3,"inventory_management":"shopify","inventory_policy":"deny","barcode":null},{"id":19513003769942,"title":"One Size \/ GREEN","option1":"One Size","option2":"GREEN","option3":null,"sku":"JE919-139514","requires_shipping":true,"taxable":false,"featured_image":{"id":6656730660950,"product_id":1953526120534,"position":6,"created_at":"2019-02-01T17:00:21+11:00","updated_at":"2019-02-04T17:19:18+11:00","alt":null,"width":800,"height":1024,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_82959ee8-0173-4f9e-870e-a786562fe094.jpg?v=1549261158","variant_ids":[19513003769942]},"available":true,"name":"JULIETTE EARRINGS JE919 - One Size \/ GREEN","public_title":"One Size \/ GREEN","options":["One Size","GREEN"],"price":3495,"weight":0,"compare_at_price":null,"inventory_quantity":2,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1885.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1864.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15424_5ba0c869-879c-49f1-bd1c-eb6572802797.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_82959ee8-0173-4f9e-870e-a786562fe094.jpg?v=1549261158","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1865.jpg?v=1549261810","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15425_fe4083a8-5e82-4944-a930-7288160ec5fa.jpg?v=1549261447"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1885.jpg?v=1549261810","options":["Size","Color"],"content":"Dangle and drop diamante detail\u003cbr\u003ePierce closure\u003cbr\u003eHeight: 10cm\u003cbr\u003eWidth: 4.5cm"}); // 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'.