$(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":1957754208342,"title":"AURORA NECKLACE AND EARRINGS SET JNE549","handle":"necklace-and-earrings-set-2","description":"\u003cdiv\u003eAn elegant touch to any strapless dress.\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003ePearl and diamond details\u003cbr\u003eDropped earrings\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFit Information\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003eLength: 50cm\u003c\/div\u003e","published_at":"2019-02-08T16:58:25+11:00","created_at":"2019-02-06T15:03:12+11:00","vendor":"Bariano","type":"","tags":["50-100","accessories","bodycon","color-antique-gold","color-gold","color-white","gold","one-size","SALEBABY","size-one-size","white"],"price":7995,"price_min":7995,"price_max":7995,"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":19751486750806,"title":"GOLD \/ One Size","option1":"GOLD","option2":"One Size","option3":null,"sku":"JNE549-139595","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"AURORA NECKLACE AND EARRINGS SET JNE549 - GOLD \/ One Size","public_title":"GOLD \/ One Size","options":["GOLD","One Size"],"price":7995,"weight":0,"compare_at_price":null,"inventory_quantity":5,"inventory_management":"shopify","inventory_policy":"deny","barcode":null},{"id":19751486783574,"title":"WHITE \/ One Size","option1":"WHITE","option2":"One Size","option3":null,"sku":"JNE549-139594","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"AURORA NECKLACE AND EARRINGS SET JNE549 - WHITE \/ One Size","public_title":"WHITE \/ One Size","options":["WHITE","One Size"],"price":7995,"weight":0,"compare_at_price":null,"inventory_quantity":4,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15503.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502_adf57863-9540-440b-8edb-e13c23834ef2.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15503_20ddb3b1-6329-417a-83e1-25f70da1f56a.jpg?v=1553643854"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502.jpg?v=1553643854","options":["Color","Size"],"content":"\u003cdiv\u003eAn elegant touch to any strapless dress.\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003ePearl and diamond details\u003cbr\u003eDropped earrings\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFit Information\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003eLength: 50cm\u003c\/div\u003e"}, onVariantSelected: selectCallback, enableHistoryState: true }); Shopify.linkOptionSelectors({"id":1957754208342,"title":"AURORA NECKLACE AND EARRINGS SET JNE549","handle":"necklace-and-earrings-set-2","description":"\u003cdiv\u003eAn elegant touch to any strapless dress.\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003ePearl and diamond details\u003cbr\u003eDropped earrings\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFit Information\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003eLength: 50cm\u003c\/div\u003e","published_at":"2019-02-08T16:58:25+11:00","created_at":"2019-02-06T15:03:12+11:00","vendor":"Bariano","type":"","tags":["50-100","accessories","bodycon","color-antique-gold","color-gold","color-white","gold","one-size","SALEBABY","size-one-size","white"],"price":7995,"price_min":7995,"price_max":7995,"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":19751486750806,"title":"GOLD \/ One Size","option1":"GOLD","option2":"One Size","option3":null,"sku":"JNE549-139595","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"AURORA NECKLACE AND EARRINGS SET JNE549 - GOLD \/ One Size","public_title":"GOLD \/ One Size","options":["GOLD","One Size"],"price":7995,"weight":0,"compare_at_price":null,"inventory_quantity":5,"inventory_management":"shopify","inventory_policy":"deny","barcode":null},{"id":19751486783574,"title":"WHITE \/ One Size","option1":"WHITE","option2":"One Size","option3":null,"sku":"JNE549-139594","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"AURORA NECKLACE AND EARRINGS SET JNE549 - WHITE \/ One Size","public_title":"WHITE \/ One Size","options":["WHITE","One Size"],"price":7995,"weight":0,"compare_at_price":null,"inventory_quantity":4,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15503.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502_adf57863-9540-440b-8edb-e13c23834ef2.jpg?v=1553643854","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15503_20ddb3b1-6329-417a-83e1-25f70da1f56a.jpg?v=1553643854"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15502.jpg?v=1553643854","options":["Color","Size"],"content":"\u003cdiv\u003eAn elegant touch to any strapless dress.\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003ePearl and diamond details\u003cbr\u003eDropped earrings\u003c\/div\u003e\n\u003cdiv\u003e \u003c\/div\u003e\n\u003cdiv\u003e\u003cstrong\u003eFit Information\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003eLength: 50cm\u003c\/div\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'.