Shopify.quickshopOptionsMap7196098658477 = {}; Shopify.quickshopUpdateOptionsInSelector7196098658477 = function(selectorIndex) { switch (selectorIndex) { case 0: var key = 'root'; var selector = jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(0)'); break; case 1: var key = jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(0)').val(); var selector = jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(1)'); break; case 2: var key = jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(0)').val(); key += ' / ' + jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(1)').val(); var selector = jQuery('#product-form-quick-7196098658477 .single-option-selector:eq(2)'); } var initialValue = selector.val(); selector.empty(); var availableOptions = Shopify.quickshopOptionsMap7196098658477[key]; if (availableOptions && availableOptions.length) { for (var i = 0; i < availableOptions.length; i++) { var option = availableOptions[i]; var newOption = jQuery('').val(option).html(option); selector.append(newOption); } jQuery('#product-form-quick-7196098658477 .swatch[data-option-index="' + selectorIndex + '"] .swatch-element').each(function() { if (jQuery.inArray(jQuery(this).attr('data-value'), availableOptions) !== -1) { jQuery(this).removeClass('soldout').show().find(':radio').removeAttr('disabled', 'disabled').removeAttr('checked'); } else { jQuery(this).addClass('soldout').hide().find(':radio').removeAttr('checked').attr('disabled', 'disabled'); } }); if (jQuery.inArray(initialValue, availableOptions) !== -1) { selector.val(initialValue); } selector.trigger('change'); } }; Shopify.quickshopLinkOptionSelectors7196098658477 = function(product) { // Building our mapping object. for (var i = 0; i < product.variants.length; i++) { var variant = product.variants[i]; //if (variant.available) { // Gathering values for the 1st drop-down. Shopify.quickshopOptionsMap7196098658477['root'] = Shopify.quickshopOptionsMap7196098658477['root'] || []; Shopify.quickshopOptionsMap7196098658477['root'].push(variant.option1); Shopify.quickshopOptionsMap7196098658477['root'] = Shopify.uniq(Shopify.quickshopOptionsMap7196098658477['root']); // Gathering values for the 2nd drop-down. if (product.options.length > 1) { var key = variant.option1; Shopify.quickshopOptionsMap7196098658477[key] = Shopify.quickshopOptionsMap7196098658477[key] || []; Shopify.quickshopOptionsMap7196098658477[key].push(variant.option2); Shopify.quickshopOptionsMap7196098658477[key] = Shopify.uniq(Shopify.quickshopOptionsMap7196098658477[key]); } // Gathering values for the 3rd drop-down. if (product.options.length === 3) { var key = variant.option1 + ' / ' + variant.option2; Shopify.quickshopOptionsMap7196098658477[key] = Shopify.quickshopOptionsMap7196098658477[key] || []; Shopify.quickshopOptionsMap7196098658477[key].push(variant.option3); Shopify.quickshopOptionsMap7196098658477[key] = Shopify.uniq(Shopify.quickshopOptionsMap7196098658477[key]); } //} } // Update options right away. Shopify.quickshopUpdateOptionsInSelector7196098658477(0); if (product.options.length > 1) Shopify.quickshopUpdateOptionsInSelector7196098658477(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7196098658477(2); // When there is an update in the first dropdown. jQuery("#product-form-quick-7196098658477 .single-option-selector:eq(0)").change(function() { Shopify.quickshopUpdateOptionsInSelector7196098658477(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7196098658477(2); return true; }); // When there is an update in the second dropdown. jQuery("#product-form-quick-7196098658477 .single-option-selector:eq(1)").change(function() { if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7196098658477(2); return true; }); }; productsObj.id7196098658477 = {"id":7196098658477,"title":"Denergy® Tattoo Practice Skin(30cm*20cm*3mm)\/(40cm*30cm*3.5mm)5pcs","handle":"tattoo-practice-skin-blank-silicone-fake-skin-denergy-5-pcs-12-8-double-sides-fake-tattoo-skin-sheet-for-beginners-and-experienced-artists","description":"\u003cp data-spm-anchor-id=\"5261.product_publish.0.i64.172c4edfjPKAUJ\" data-style=\"{}\" data-slate-type=\"p\" data-key=\"70\"\u003e1.TATTOO PRACTICE SKIN SIZE -Providing enough space and thick for your ​masterpiece creation. Includes 5pcs blank tattooing practice skin.It is individual ​packaging for each fake skin. These Silicone pads have enough thickness, ​measures 12\" long by 8\" wide(30cm*20cm*3mm). and​ ​16\" long by 12\" wide(40cm*30cm*3.5mm)\u003cbr\u003e\u003cbr\u003e2.PRACTICE DIFFERENT SKILL -Either outlining or shading. The fake skin allow ​practice different techniques, Testing your progress during practice sessions, ​or test new tattoo machines or inks.Save your artwork as progress or show ​the excellent examples of your art, show off your different tattoo or ​microblading skills. ​ ​\u003cbr\u003e\u003cbr\u003e3.GREAT QUALITY MATERIALS - Denergy tattoo practice skin is made of 100% Premium Silicone material, it is soft, stretchable, durable, easy to color. ​ ​\u003cbr\u003e\u003cbr\u003e4.MORE LIKE REAL SKIN - The tattoo practice skin are flexible and have a similar ​feel to human skin. It's really easy to use, just as easy to color as you do on real ​skin. They are very good for tattoo practice and improve your tattoo skills. ​\u003cbr\u003e\u003cbr\u003e​5.UNCONDITIONAL SATISFACTION GUARANTY - Denergy tattoos have absolute ​confidence in the quality of the products, if there is any problem with the item ​you received, you can return or exchange it within 30 days, or feel free to contact ​us.\u003c\/p\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0148\/5556\/9462\/files\/banner1.jpg?v=1662099164\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0148\/5556\/9462\/files\/banner5.jpg?v=1662099207\" style=\"float: none;\"\u003e\u003c\/div\u003e","published_at":"2022-07-13T16:30:57+08:00","created_at":"2022-07-13T16:30:56+08:00","vendor":"Denergy","type":"Tattoo Accessories","tags":[],"price":3100,"price_min":3100,"price_max":4800,"available":true,"price_varies":true,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":41648443719853,"title":"30CM*20CM*3mm(5PCS)","option1":"30CM*20CM*3mm(5PCS)","option2":null,"option3":null,"sku":"2022-30x20cm-5pcs","requires_shipping":true,"taxable":false,"featured_image":{"id":32282558562477,"product_id":7196098658477,"position":7,"created_at":"2022-09-21T14:59:06+08:00","updated_at":"2022-09-21T15:00:52+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/30x20x3.jpg?v=1663743652","variant_ids":[41648443719853]},"available":true,"name":"Denergy® Tattoo Practice Skin(30cm*20cm*3mm)\/(40cm*30cm*3.5mm)5pcs - 30CM*20CM*3mm(5PCS)","public_title":"30CM*20CM*3mm(5PCS)","options":["30CM*20CM*3mm(5PCS)"],"price":3100,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"784633864948","featured_media":{"alt":null,"id":24595505119405,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/30x20x3.jpg?v=1663743652"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":41648443752621,"title":"40CM*30CM*3.5mm(5PCS)","option1":"40CM*30CM*3.5mm(5PCS)","option2":null,"option3":null,"sku":"2022-40x30cm-5pcs","requires_shipping":true,"taxable":false,"featured_image":{"id":32282561511597,"product_id":7196098658477,"position":8,"created_at":"2022-09-21T14:59:24+08:00","updated_at":"2022-09-21T15:00:44+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/40x30x3.jpg?v=1663743644","variant_ids":[41648443752621]},"available":true,"name":"Denergy® Tattoo Practice Skin(30cm*20cm*3mm)\/(40cm*30cm*3.5mm)5pcs - 40CM*30CM*3.5mm(5PCS)","public_title":"40CM*30CM*3.5mm(5PCS)","options":["40CM*30CM*3.5mm(5PCS)"],"price":4800,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"784633864955","featured_media":{"alt":null,"id":24595508035757,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/40x30x3.jpg?v=1663743644"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/discoverdevice.com\/cdn\/shop\/products\/0906.jpg?v=1663309123","\/\/discoverdevice.com\/cdn\/shop\/products\/3_908a96b0-0d4d-4560-9bc4-fbb58b74553c.jpg?v=1663309018","\/\/discoverdevice.com\/cdn\/shop\/products\/1_3a632c19-737f-4917-9b2d-557e9bfffd8e.jpg?v=1663309018","\/\/discoverdevice.com\/cdn\/shop\/products\/4_7067a3bb-064e-4127-9897-5320bc8f0828.jpg?v=1663309018","\/\/discoverdevice.com\/cdn\/shop\/products\/2_7a55bb94-4a94-4c4b-bdfe-20549d50ef3c.jpg?v=1663743663","\/\/discoverdevice.com\/cdn\/shop\/products\/2_84ef9c35-779e-4a18-adc3-ef171178d2d4.jpg?v=1663743656","\/\/discoverdevice.com\/cdn\/shop\/products\/30x20x3.jpg?v=1663743652","\/\/discoverdevice.com\/cdn\/shop\/products\/40x30x3.jpg?v=1663743644"],"featured_image":"\/\/discoverdevice.com\/cdn\/shop\/products\/0906.jpg?v=1663309123","options":["Size"],"media":[{"alt":null,"id":24564908327085,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/0906.jpg?v=1663309123"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/0906.jpg?v=1663309123","width":1600},{"alt":null,"id":24245094777005,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/3_908a96b0-0d4d-4560-9bc4-fbb58b74553c.jpg?v=1663309018"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/3_908a96b0-0d4d-4560-9bc4-fbb58b74553c.jpg?v=1663309018","width":1600},{"alt":null,"id":24245094711469,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/1_3a632c19-737f-4917-9b2d-557e9bfffd8e.jpg?v=1663309018"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/1_3a632c19-737f-4917-9b2d-557e9bfffd8e.jpg?v=1663309018","width":1600},{"alt":null,"id":24245094809773,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/4_7067a3bb-064e-4127-9897-5320bc8f0828.jpg?v=1663309018"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/4_7067a3bb-064e-4127-9897-5320bc8f0828.jpg?v=1663309018","width":1600},{"alt":null,"id":24595501351085,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_7a55bb94-4a94-4c4b-bdfe-20549d50ef3c.jpg?v=1663743663"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_7a55bb94-4a94-4c4b-bdfe-20549d50ef3c.jpg?v=1663743663","width":1600},{"alt":null,"id":24595501383853,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_84ef9c35-779e-4a18-adc3-ef171178d2d4.jpg?v=1663743656"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_84ef9c35-779e-4a18-adc3-ef171178d2d4.jpg?v=1663743656","width":1600},{"alt":null,"id":24595505119405,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/30x20x3.jpg?v=1663743652"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/30x20x3.jpg?v=1663743652","width":1600},{"alt":null,"id":24595508035757,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/40x30x3.jpg?v=1663743644"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/40x30x3.jpg?v=1663743644","width":1600}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp data-spm-anchor-id=\"5261.product_publish.0.i64.172c4edfjPKAUJ\" data-style=\"{}\" data-slate-type=\"p\" data-key=\"70\"\u003e1.TATTOO PRACTICE SKIN SIZE -Providing enough space and thick for your ​masterpiece creation. Includes 5pcs blank tattooing practice skin.It is individual ​packaging for each fake skin. These Silicone pads have enough thickness, ​measures 12\" long by 8\" wide(30cm*20cm*3mm). and​ ​16\" long by 12\" wide(40cm*30cm*3.5mm)\u003cbr\u003e\u003cbr\u003e2.PRACTICE DIFFERENT SKILL -Either outlining or shading. The fake skin allow ​practice different techniques, Testing your progress during practice sessions, ​or test new tattoo machines or inks.Save your artwork as progress or show ​the excellent examples of your art, show off your different tattoo or ​microblading skills. ​ ​\u003cbr\u003e\u003cbr\u003e3.GREAT QUALITY MATERIALS - Denergy tattoo practice skin is made of 100% Premium Silicone material, it is soft, stretchable, durable, easy to color. ​ ​\u003cbr\u003e\u003cbr\u003e4.MORE LIKE REAL SKIN - The tattoo practice skin are flexible and have a similar ​feel to human skin. It's really easy to use, just as easy to color as you do on real ​skin. They are very good for tattoo practice and improve your tattoo skills. ​\u003cbr\u003e\u003cbr\u003e​5.UNCONDITIONAL SATISFACTION GUARANTY - Denergy tattoos have absolute ​confidence in the quality of the products, if there is any problem with the item ​you received, you can return or exchange it within 30 days, or feel free to contact ​us.\u003c\/p\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0148\/5556\/9462\/files\/banner1.jpg?v=1662099164\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0148\/5556\/9462\/files\/banner5.jpg?v=1662099207\" style=\"float: none;\"\u003e\u003c\/div\u003e"}; selectCallback = function(variant, selector) { if (variant) { if (variant.available) { if (variant.compare_at_price > variant.price) { $(".price-box .price").html('' + Shopify.formatMoney(variant.compare_at_price, money_format) + "" + ' ' + Shopify.formatMoney(variant.price, money_format) + "") } else { $(".price-box .price").html('' + Shopify.formatMoney(variant.price, money_format) + ""); } woodmart_settings.enableCurrency && currenciesCallbackSpecial(".price-box span.money"),$(".single_add_to_cart_button").removeClass("disabled").removeAttr("disabled").html(window.inventory_text.add_to_cart); }else{ $("#product-form-quick-7196098658477 .single_add_to_cart_button").html(window.inventory_text.sold_out).addClass("disabled").attr("disabled", "disabled"); } if(swatch_color_type == '1' || swatch_color_type == '2'){ var form = $('#' + selector.domIdPrefix).closest('form'); for (var i=0,length=variant.options.length; i= 1) { //multiple variants for (var i = 0; i < product.variants.length; i++) { var variant = product.variants[i]; var option = ''; layout.find('form.product-form > select').append(option); } new Shopify.OptionSelectors("product-selectors-7196098658477", { product: product, onVariantSelected: selectCallback, enableHistoryState: true }); var filePath = asset_url.substring(0, asset_url.lastIndexOf('/')); var assetUrl = asset_url.substring(0, asset_url.lastIndexOf('/')); var options = ""; for (var i = 0; i < product.options.length; i++) { options += '
'; options += '
' + product.options[i] + ':
'; options += '
'; var is_color = false; var is_circle = 'circle'; if (/Color|Colour/i.test(product.options[i])) { is_color = true; } if (swatch_color_type == '2') { is_color = false; is_circle = ''; } var optionValues = new Array(); for (var j = 0; j < product.variants.length; j++) { var variant = product.variants[j]; var value = variant.options[i]; if(variant.featured_image && woodmart_settings.product_data.product_swatch_setting == '2'){ var img = variant.featured_image.src.lastIndexOf("."); var vimg = variant.featured_image.src.slice(0, img) + "_50x50_crop_center" + variant.featured_image.src.slice(img); } var valueHandle = convertToSlug(value); var forText = 'swatch-7196098658477-' + i + '-' + valueHandle; if (optionValues.indexOf(value) < 0) { options += '
'; if (is_color) { options += '
' + value + '
'; } options += ''; if (is_color) { if(vimg && woodmart_settings.product_data.product_swatch_setting == '2'){ options += ''; }else{ options += ''; } } else { options += ''; } options += '
'; if (variant.available) { $('#product-form-quick-7196098658477 .swatch[data-option-index="' + i + '"] .' + valueHandle).removeClass('soldout').addClass('available').find(':radio').removeAttr('disabled'); } optionValues.push(value); } } options += '
'; options += '
'; } if(swatch_color_type == '1' || swatch_color_type == '2'){ layout.find('form.product-form .product-options > select').after(options); layout.find('.swatch :radio').change(function() { var optionIndex = $(this).closest('.swatch').attr('data-option-index'); var optionValue = $(this).val(); $(this) .closest('form') .find('.single-option-selector') .eq(optionIndex) .val(optionValue) .trigger('change'); }); } if (product.available) { Shopify.quickshopOptionsMap7196098658477 = {}; Shopify.quickshopLinkOptionSelectors7196098658477(product); } } else { //single variant layout.find('form.product-form .product-options > select').remove(); var variant_field = ''; layout.find('form.product-form').append(variant_field); } });