$(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":1953531461718,"title":"MAKE YOUR BONES EARRINGS JE911","handle":"earrings-9","description":"\u003cp\u003eHexagon hoop\u003cbr\u003eDouble line detail\u003cbr\u003ePierce closure\u003cbr\u003eWidth: 5cm\u003c\/p\u003e","published_at":"2019-02-08T17:00:19+11:00","created_at":"2019-02-01T17:18:09+11:00","vendor":"Bariano","type":"","tags":["accessories","color-antique-gold","color-gold","gold","new arrivals","one-size","size-one-size","under-50"],"price":1995,"price_min":1995,"price_max":1995,"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":19513059541078,"title":"One Size \/ GOLD","option1":"One Size","option2":"GOLD","option3":null,"sku":"JE911-139537","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"MAKE YOUR BONES EARRINGS JE911 - One Size \/ GOLD","public_title":"One Size \/ GOLD","options":["One Size","GOLD"],"price":1995,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427.jpg?v=1549261038","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1854.jpg?v=1549345942","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427_0ac21abf-ca26-4d08-bea9-d5bc79c537db.jpg?v=1549261038"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427.jpg?v=1549261038","options":["Size","Color"],"content":"\u003cp\u003eHexagon hoop\u003cbr\u003eDouble line detail\u003cbr\u003ePierce closure\u003cbr\u003eWidth: 5cm\u003c\/p\u003e"}, onVariantSelected: selectCallback, enableHistoryState: true }); Shopify.linkOptionSelectors({"id":1953531461718,"title":"MAKE YOUR BONES EARRINGS JE911","handle":"earrings-9","description":"\u003cp\u003eHexagon hoop\u003cbr\u003eDouble line detail\u003cbr\u003ePierce closure\u003cbr\u003eWidth: 5cm\u003c\/p\u003e","published_at":"2019-02-08T17:00:19+11:00","created_at":"2019-02-01T17:18:09+11:00","vendor":"Bariano","type":"","tags":["accessories","color-antique-gold","color-gold","gold","new arrivals","one-size","size-one-size","under-50"],"price":1995,"price_min":1995,"price_max":1995,"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":19513059541078,"title":"One Size \/ GOLD","option1":"One Size","option2":"GOLD","option3":null,"sku":"JE911-139537","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"MAKE YOUR BONES EARRINGS JE911 - One Size \/ GOLD","public_title":"One Size \/ GOLD","options":["One Size","GOLD"],"price":1995,"weight":0,"compare_at_price":null,"inventory_quantity":1,"inventory_management":"shopify","inventory_policy":"deny","barcode":null}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427.jpg?v=1549261038","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/IMG_1854.jpg?v=1549345942","\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427_0ac21abf-ca26-4d08-bea9-d5bc79c537db.jpg?v=1549261038"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1647\/7731\/products\/15427.jpg?v=1549261038","options":["Size","Color"],"content":"\u003cp\u003eHexagon hoop\u003cbr\u003eDouble line detail\u003cbr\u003ePierce closure\u003cbr\u003eWidth: 5cm\u003c\/p\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'.