Shopify.quickshopOptionsMap7322961608877 = {}; Shopify.quickshopUpdateOptionsInSelector7322961608877 = function(selectorIndex) { switch (selectorIndex) { case 0: var key = 'root'; var selector = jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(0)'); break; case 1: var key = jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(0)').val(); var selector = jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(1)'); break; case 2: var key = jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(0)').val(); key += ' / ' + jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(1)').val(); var selector = jQuery('#product-form-quick-7322961608877 .single-option-selector:eq(2)'); } var initialValue = selector.val(); selector.empty(); var availableOptions = Shopify.quickshopOptionsMap7322961608877[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-7322961608877 .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.quickshopLinkOptionSelectors7322961608877 = 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.quickshopOptionsMap7322961608877['root'] = Shopify.quickshopOptionsMap7322961608877['root'] || []; Shopify.quickshopOptionsMap7322961608877['root'].push(variant.option1); Shopify.quickshopOptionsMap7322961608877['root'] = Shopify.uniq(Shopify.quickshopOptionsMap7322961608877['root']); // Gathering values for the 2nd drop-down. if (product.options.length > 1) { var key = variant.option1; Shopify.quickshopOptionsMap7322961608877[key] = Shopify.quickshopOptionsMap7322961608877[key] || []; Shopify.quickshopOptionsMap7322961608877[key].push(variant.option2); Shopify.quickshopOptionsMap7322961608877[key] = Shopify.uniq(Shopify.quickshopOptionsMap7322961608877[key]); } // Gathering values for the 3rd drop-down. if (product.options.length === 3) { var key = variant.option1 + ' / ' + variant.option2; Shopify.quickshopOptionsMap7322961608877[key] = Shopify.quickshopOptionsMap7322961608877[key] || []; Shopify.quickshopOptionsMap7322961608877[key].push(variant.option3); Shopify.quickshopOptionsMap7322961608877[key] = Shopify.uniq(Shopify.quickshopOptionsMap7322961608877[key]); } //} } // Update options right away. Shopify.quickshopUpdateOptionsInSelector7322961608877(0); if (product.options.length > 1) Shopify.quickshopUpdateOptionsInSelector7322961608877(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7322961608877(2); // When there is an update in the first dropdown. jQuery("#product-form-quick-7322961608877 .single-option-selector:eq(0)").change(function() { Shopify.quickshopUpdateOptionsInSelector7322961608877(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7322961608877(2); return true; }); // When there is an update in the second dropdown. jQuery("#product-form-quick-7322961608877 .single-option-selector:eq(1)").change(function() { if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7322961608877(2); return true; }); }; productsObj.id7322961608877 = {"id":7322961608877,"title":"Denergy Professional Tattoo Machine Kit ATC-5-K","handle":"tattoo-machine-kit-denergy-professional-atc-5-k","description":"\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopifycdn.net\/s\/files\/1\/0148\/5556\/9462\/files\/1800x1000_banner.jpg?v=1678504589\"\u003e\u003c\/div\u003e\n\u003cp\u003e1.Denergy KINGKONG Complete Tattoo Pen Kit continuous operation, low noise, \u003cbr\u003elong-lasting stability, ergonomic. Compatible with all tattoo cartridge needles.\u003cbr\u003eIt has main supplies to start your tattoo work, \u003cbr\u003e3.5mm stroke length that better for beginner get easy \u003cbr\u003etattoo lining and shading, permanent makeup work.\u003c\/p\u003e\n\u003cp\u003e2.Tattoo Pen Machine Introduction:The tattoo pen kit is finely carved CNC by aluminum alloy,the small gap between accessories and accessories, wear resistance, \u003cbr data-mce-fragment=\"1\"\u003elong time use without hot, long life. All Denergy tattoo supplies tested by pro artists. \u003cbr data-mce-fragment=\"1\"\u003eWe provide all pro tattoo supplies for beginner.\u003cbr\u003e\u003c\/p\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopifycdn.net\/s\/files\/1\/0148\/5556\/9462\/files\/A_banner_-_4.jpg?v=1685522048\"\u003e\u003c\/div\u003e\n\u003cp\u003e3.What You Get:\u003cbr data-mce-fragment=\"1\"\u003e1pc Denergy KINGKONG Rotary Tattoo Machine with RCA Cord;\u003cbr data-mce-fragment=\"1\"\u003e1pc Power Supply with cable;\u003cbr data-mce-fragment=\"1\"\u003e20pcs standard sizes Denergy Cartridge Needles 1203RL;\u003cbr data-mce-fragment=\"1\"\u003e1pc Foot Pedal;\u003cbr data-mce-fragment=\"1\"\u003e1pc Tattoo Practice Skin(20*30cm);\u003cbr data-mce-fragment=\"1\"\u003e7pc ATC-5 Denergy Tattoo Ink \u003cbr data-mce-fragment=\"1\"\u003e1pc Tattoo Grip Cover Warp.\u003c\/p\u003e\n\u003cp\u003e4.Professional Tattoo Kit: All Denergy tattoo supplies tested by pro artists. \u003cbr data-mce-fragment=\"1\"\u003eWe provide all pro tattoo supplies for beginner. \u003cbr data-mce-fragment=\"1\"\u003ecartridges needles are Ethylene oxide (EO) gas sterilized and individually packaged. \u003cbr data-mce-fragment=\"1\"\u003eDenergy-KINGKONG tattoo pen used with our pro team to tattooing.\u003c\/p\u003e\n\u003cp\u003e5.Tattoo Kit 100% Satisfaction Guaranteed: If there is a problem with the Denergy tattoo \u003cbr\u003epen kit you received, please feel free to contact us for a replacement.\u003c\/p\u003e","published_at":"2023-03-04T15:56:46+08:00","created_at":"2023-03-04T15:56:46+08:00","vendor":"Discover Device","type":"Tattoo Machine Kit","tags":[],"price":3800,"price_min":3800,"price_max":7800,"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":42123577819309,"title":"Kingkong Machine Kit","option1":"Kingkong Machine Kit","option2":null,"option3":null,"sku":"ATC-5-K","requires_shipping":true,"taxable":false,"featured_image":{"id":33476671766701,"product_id":7322961608877,"position":1,"created_at":"2023-11-17T14:44:22+08:00","updated_at":"2023-11-17T14:44:46+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486","variant_ids":[42123577819309]},"available":true,"name":"Denergy Professional Tattoo Machine Kit ATC-5-K - Kingkong Machine Kit","public_title":"Kingkong Machine Kit","options":["Kingkong Machine Kit"],"price":6800,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224478656","featured_media":{"alt":null,"id":25819762393261,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42123577852077,"title":"Wireless Kit with Ink","option1":"Wireless Kit with Ink","option2":null,"option3":null,"sku":"ATC-5-K-2","requires_shipping":true,"taxable":false,"featured_image":null,"available":false,"name":"Denergy Professional Tattoo Machine Kit ATC-5-K - Wireless Kit with Ink","public_title":"Wireless Kit with Ink","options":["Wireless Kit with Ink"],"price":7800,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224478960","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42123577884845,"title":"Wireless Kit PRO","option1":"Wireless Kit PRO","option2":null,"option3":null,"sku":"ATC-5-K-3","requires_shipping":true,"taxable":false,"featured_image":null,"available":false,"name":"Denergy Professional Tattoo Machine Kit ATC-5-K - Wireless Kit PRO","public_title":"Wireless Kit PRO","options":["Wireless Kit PRO"],"price":7800,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224478953","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42123601903789,"title":"Kingkong Cartridge Machine","option1":"Kingkong Cartridge Machine","option2":null,"option3":null,"sku":"DEN-KK","requires_shipping":true,"taxable":false,"featured_image":{"id":33476671733933,"product_id":7322961608877,"position":2,"created_at":"2023-11-17T14:44:22+08:00","updated_at":"2023-11-17T14:44:39+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/bdce252ba3490115727ab04ed125f9e7.jpg?v=1700203479","variant_ids":[42123601903789]},"available":true,"name":"Denergy Professional Tattoo Machine Kit ATC-5-K - Kingkong Cartridge Machine","public_title":"Kingkong Cartridge Machine","options":["Kingkong Cartridge Machine"],"price":3800,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224478717","featured_media":{"alt":null,"id":25819762426029,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/bdce252ba3490115727ab04ed125f9e7.jpg?v=1700203479"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486","\/\/discoverdevice.com\/cdn\/shop\/files\/bdce252ba3490115727ab04ed125f9e7.jpg?v=1700203479","\/\/discoverdevice.com\/cdn\/shop\/files\/2_d95bc37c-81e6-429c-81bc-430e7e156cd2.jpg?v=1700203600","\/\/discoverdevice.com\/cdn\/shop\/files\/3_3c12a5e0-8327-4390-8b00-fe7f108cdfb5.jpg?v=1700203625","\/\/discoverdevice.com\/cdn\/shop\/files\/4_6ada8e71-2d12-4b30-a6a2-96a786f550cb.jpg?v=1700203619","\/\/discoverdevice.com\/cdn\/shop\/files\/5_f836d163-c7e8-41d4-a5c2-7c1012b810c3.jpg?v=1700203612","\/\/discoverdevice.com\/cdn\/shop\/files\/6_2eb83772-4730-4d4a-bcb3-b39daaedb7b9.jpg?v=1700203606"],"featured_image":"\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486","options":["Style"],"media":[{"alt":null,"id":25819762393261,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4539b5a0f6a2fb1d303afcdc31df367a.jpg?v=1700203486","width":1600},{"alt":null,"id":25819762426029,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/bdce252ba3490115727ab04ed125f9e7.jpg?v=1700203479"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/bdce252ba3490115727ab04ed125f9e7.jpg?v=1700203479","width":1600},{"alt":null,"id":25819762950317,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/2_d95bc37c-81e6-429c-81bc-430e7e156cd2.jpg?v=1700203600"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/2_d95bc37c-81e6-429c-81bc-430e7e156cd2.jpg?v=1700203600","width":1600},{"alt":null,"id":25819762983085,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/3_3c12a5e0-8327-4390-8b00-fe7f108cdfb5.jpg?v=1700203625"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/3_3c12a5e0-8327-4390-8b00-fe7f108cdfb5.jpg?v=1700203625","width":1600},{"alt":null,"id":25819763015853,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4_6ada8e71-2d12-4b30-a6a2-96a786f550cb.jpg?v=1700203619"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4_6ada8e71-2d12-4b30-a6a2-96a786f550cb.jpg?v=1700203619","width":1600},{"alt":null,"id":25819763048621,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_f836d163-c7e8-41d4-a5c2-7c1012b810c3.jpg?v=1700203612"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_f836d163-c7e8-41d4-a5c2-7c1012b810c3.jpg?v=1700203612","width":1600},{"alt":null,"id":25819763081389,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_2eb83772-4730-4d4a-bcb3-b39daaedb7b9.jpg?v=1700203606"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_2eb83772-4730-4d4a-bcb3-b39daaedb7b9.jpg?v=1700203606","width":1600}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopifycdn.net\/s\/files\/1\/0148\/5556\/9462\/files\/1800x1000_banner.jpg?v=1678504589\"\u003e\u003c\/div\u003e\n\u003cp\u003e1.Denergy KINGKONG Complete Tattoo Pen Kit continuous operation, low noise, \u003cbr\u003elong-lasting stability, ergonomic. Compatible with all tattoo cartridge needles.\u003cbr\u003eIt has main supplies to start your tattoo work, \u003cbr\u003e3.5mm stroke length that better for beginner get easy \u003cbr\u003etattoo lining and shading, permanent makeup work.\u003c\/p\u003e\n\u003cp\u003e2.Tattoo Pen Machine Introduction:The tattoo pen kit is finely carved CNC by aluminum alloy,the small gap between accessories and accessories, wear resistance, \u003cbr data-mce-fragment=\"1\"\u003elong time use without hot, long life. All Denergy tattoo supplies tested by pro artists. \u003cbr data-mce-fragment=\"1\"\u003eWe provide all pro tattoo supplies for beginner.\u003cbr\u003e\u003c\/p\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg style=\"float: none;\" alt=\"\" src=\"https:\/\/cdn.shopifycdn.net\/s\/files\/1\/0148\/5556\/9462\/files\/A_banner_-_4.jpg?v=1685522048\"\u003e\u003c\/div\u003e\n\u003cp\u003e3.What You Get:\u003cbr data-mce-fragment=\"1\"\u003e1pc Denergy KINGKONG Rotary Tattoo Machine with RCA Cord;\u003cbr data-mce-fragment=\"1\"\u003e1pc Power Supply with cable;\u003cbr data-mce-fragment=\"1\"\u003e20pcs standard sizes Denergy Cartridge Needles 1203RL;\u003cbr data-mce-fragment=\"1\"\u003e1pc Foot Pedal;\u003cbr data-mce-fragment=\"1\"\u003e1pc Tattoo Practice Skin(20*30cm);\u003cbr data-mce-fragment=\"1\"\u003e7pc ATC-5 Denergy Tattoo Ink \u003cbr data-mce-fragment=\"1\"\u003e1pc Tattoo Grip Cover Warp.\u003c\/p\u003e\n\u003cp\u003e4.Professional Tattoo Kit: All Denergy tattoo supplies tested by pro artists. \u003cbr data-mce-fragment=\"1\"\u003eWe provide all pro tattoo supplies for beginner. \u003cbr data-mce-fragment=\"1\"\u003ecartridges needles are Ethylene oxide (EO) gas sterilized and individually packaged. \u003cbr data-mce-fragment=\"1\"\u003eDenergy-KINGKONG tattoo pen used with our pro team to tattooing.\u003c\/p\u003e\n\u003cp\u003e5.Tattoo Kit 100% Satisfaction Guaranteed: If there is a problem with the Denergy tattoo \u003cbr\u003epen kit you received, please feel free to contact us for a replacement.\u003c\/p\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-7322961608877 .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-7322961608877", { 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-7322961608877-' + 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-7322961608877 .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.quickshopOptionsMap7322961608877 = {}; Shopify.quickshopLinkOptionSelectors7322961608877(product); } } else { //single variant layout.find('form.product-form .product-options > select').remove(); var variant_field = ''; layout.find('form.product-form').append(variant_field); } });