Shopify.quickshopOptionsMap7360695435437 = {}; Shopify.quickshopUpdateOptionsInSelector7360695435437 = function(selectorIndex) { switch (selectorIndex) { case 0: var key = 'root'; var selector = jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(0)'); break; case 1: var key = jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(0)').val(); var selector = jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(1)'); break; case 2: var key = jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(0)').val(); key += ' / ' + jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(1)').val(); var selector = jQuery('#product-form-quick-7360695435437 .single-option-selector:eq(2)'); } var initialValue = selector.val(); selector.empty(); var availableOptions = Shopify.quickshopOptionsMap7360695435437[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-7360695435437 .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.quickshopLinkOptionSelectors7360695435437 = 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.quickshopOptionsMap7360695435437['root'] = Shopify.quickshopOptionsMap7360695435437['root'] || []; Shopify.quickshopOptionsMap7360695435437['root'].push(variant.option1); Shopify.quickshopOptionsMap7360695435437['root'] = Shopify.uniq(Shopify.quickshopOptionsMap7360695435437['root']); // Gathering values for the 2nd drop-down. if (product.options.length > 1) { var key = variant.option1; Shopify.quickshopOptionsMap7360695435437[key] = Shopify.quickshopOptionsMap7360695435437[key] || []; Shopify.quickshopOptionsMap7360695435437[key].push(variant.option2); Shopify.quickshopOptionsMap7360695435437[key] = Shopify.uniq(Shopify.quickshopOptionsMap7360695435437[key]); } // Gathering values for the 3rd drop-down. if (product.options.length === 3) { var key = variant.option1 + ' / ' + variant.option2; Shopify.quickshopOptionsMap7360695435437[key] = Shopify.quickshopOptionsMap7360695435437[key] || []; Shopify.quickshopOptionsMap7360695435437[key].push(variant.option3); Shopify.quickshopOptionsMap7360695435437[key] = Shopify.uniq(Shopify.quickshopOptionsMap7360695435437[key]); } //} } // Update options right away. Shopify.quickshopUpdateOptionsInSelector7360695435437(0); if (product.options.length > 1) Shopify.quickshopUpdateOptionsInSelector7360695435437(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7360695435437(2); // When there is an update in the first dropdown. jQuery("#product-form-quick-7360695435437 .single-option-selector:eq(0)").change(function() { Shopify.quickshopUpdateOptionsInSelector7360695435437(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7360695435437(2); return true; }); // When there is an update in the second dropdown. jQuery("#product-form-quick-7360695435437 .single-option-selector:eq(1)").change(function() { if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector7360695435437(2); return true; }); }; productsObj.id7360695435437 = {"id":7360695435437,"title":"100Pcs Mixed Size Denergy Tattoo Cartridge #12 RL RS M1 RM","handle":"100pcs-mixed-size-denergy-tattoo-cartridge-12-rl-rs-m1-rm","description":"\u003cp\u003e\u003cstrong\u003eWhat will you get ?\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e5 boxes of cartridges mixed total 100pcs \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e#12 3RL 5RL 7RL 9RL 11RL (100PCS)\u003cbr\u003e#12 3RS 5RS 7RS 9RS 11RS (100PCS)\u003cbr\u003e#12 5M1 7M1 9M1 11M1 13M1 (100PCS)\u003cbr\u003e#12 7RM 9RM 11RM 13RM 15RM (100PCS)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eProduct Details\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cspan\u003e1.Diameter of 0.350mm gauge #12\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e2.Needle taper:tight needle,brings right contact with the skin and used to be used for bold lining works.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e3.Comes with membrane to prevent ink flow back in the tube or machine. Semi transparent \u0026amp; bevel tips make it easier to observe the needle and ink flow.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e4.Compatible with all rotary\/Coiled machines.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e5.Box of 20Pcs,EO gas sterilized and ready for use.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eItems for choosing from\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong\u003e#1203RL #1205RL #1207RL #1209RL #1211RL (100PCS)\u003cbr\u003e#1203RS #1205RS #1207RS #1209RS #1211RS (100PCS)\u003cbr\u003e#1205M1 #1207M1 #1209M1 #1211M1 #1213M1 (100PCS)\u003cbr\u003e#1207RM #1209RM #1211RM #1213RM #1215RM (100PCS)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eFor professionals only.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWe are a professional tattoo needles manufactory.\u003cbr data-mce-fragment=\"1\"\u003eWelcome to be a distributor of our high quality needle cartridges.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eOur mission is to provide worldwide tattoo artists with the most safe and reliable products.\u003c\/p\u003e","published_at":"2023-06-14T11:57:30+08:00","created_at":"2023-06-14T11:57:30+08:00","vendor":"Discover Device","type":"Tattoo Needle Cartridge","tags":[],"price":4595,"price_min":4595,"price_max":4595,"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":42233304842413,"title":"Round Liner Mixed 100PCS","option1":"Round Liner Mixed 100PCS","option2":null,"option3":null,"sku":"Den-MIX-RL","requires_shipping":true,"taxable":false,"featured_image":{"id":33082807091373,"product_id":7360695435437,"position":1,"created_at":"2023-06-14T13:33:56+08:00","updated_at":"2023-06-14T13:34:41+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881","variant_ids":[42233304842413,42233304907949]},"available":true,"name":"100Pcs Mixed Size Denergy Tattoo Cartridge #12 RL RS M1 RM - Round Liner Mixed 100PCS","public_title":"Round Liner Mixed 100PCS","options":["Round Liner Mixed 100PCS"],"price":4595,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224479295","featured_media":{"alt":null,"id":25412917461165,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42233304875181,"title":"Mag Shaders Mixed 100PCS","option1":"Mag Shaders Mixed 100PCS","option2":null,"option3":null,"sku":"Den-MIX-M1","requires_shipping":true,"taxable":false,"featured_image":{"id":33082833993901,"product_id":7360695435437,"position":6,"created_at":"2023-06-14T13:49:50+08:00","updated_at":"2023-06-14T13:50:39+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839","variant_ids":[42233304875181,42233304940717]},"available":true,"name":"100Pcs Mixed Size Denergy Tattoo Cartridge #12 RL RS M1 RM - Mag Shaders Mixed 100PCS","public_title":"Mag Shaders Mixed 100PCS","options":["Mag Shaders Mixed 100PCS"],"price":4595,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224479301","featured_media":{"alt":null,"id":25412944920749,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42233304907949,"title":"Round Shaders Mixed 100PCS","option1":"Round Shaders Mixed 100PCS","option2":null,"option3":null,"sku":"Den-MIX-RS","requires_shipping":true,"taxable":false,"featured_image":{"id":33082807091373,"product_id":7360695435437,"position":1,"created_at":"2023-06-14T13:33:56+08:00","updated_at":"2023-06-14T13:34:41+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881","variant_ids":[42233304842413,42233304907949]},"available":true,"name":"100Pcs Mixed Size Denergy Tattoo Cartridge #12 RL RS M1 RM - Round Shaders Mixed 100PCS","public_title":"Round Shaders Mixed 100PCS","options":["Round Shaders Mixed 100PCS"],"price":4595,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224479318","featured_media":{"alt":null,"id":25412917461165,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42233304940717,"title":"Round Magnum Mixed 100PCS","option1":"Round Magnum Mixed 100PCS","option2":null,"option3":null,"sku":"Den-MIX-RM","requires_shipping":true,"taxable":false,"featured_image":{"id":33082833993901,"product_id":7360695435437,"position":6,"created_at":"2023-06-14T13:49:50+08:00","updated_at":"2023-06-14T13:50:39+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839","variant_ids":[42233304875181,42233304940717]},"available":true,"name":"100Pcs Mixed Size Denergy Tattoo Cartridge #12 RL RS M1 RM - Round Magnum Mixed 100PCS","public_title":"Round Magnum Mixed 100PCS","options":["Round Magnum Mixed 100PCS"],"price":4595,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"796224479325","featured_media":{"alt":null,"id":25412944920749,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881","\/\/discoverdevice.com\/cdn\/shop\/files\/222_ff7a6900-31bf-45c2-a72d-ca58a454a129.jpg?v=1686720999","\/\/discoverdevice.com\/cdn\/shop\/files\/6_767699c0-43f8-4b81-9d23-20789c31ac67.jpg?v=1686721017","\/\/discoverdevice.com\/cdn\/shop\/files\/Denergyneedlecartridge_59193767-f2fd-43a0-9bac-00cb021559f0.jpg?v=1686721013","\/\/discoverdevice.com\/cdn\/shop\/files\/tattoo-needle-cartridge-2-0609-denergy.jpg?v=1686721007","\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839"],"featured_image":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881","options":["Size"],"media":[{"alt":null,"id":25412917461165,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/100PCS_Denergy_RL.jpg?v=1686720881","width":1600},{"alt":null,"id":25412919328941,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/222_ff7a6900-31bf-45c2-a72d-ca58a454a129.jpg?v=1686720999"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/222_ff7a6900-31bf-45c2-a72d-ca58a454a129.jpg?v=1686720999","width":1500},{"alt":null,"id":25412919230637,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_767699c0-43f8-4b81-9d23-20789c31ac67.jpg?v=1686721017"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_767699c0-43f8-4b81-9d23-20789c31ac67.jpg?v=1686721017","width":1000},{"alt":null,"id":25412919263405,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/Denergyneedlecartridge_59193767-f2fd-43a0-9bac-00cb021559f0.jpg?v=1686721013"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/Denergyneedlecartridge_59193767-f2fd-43a0-9bac-00cb021559f0.jpg?v=1686721013","width":1600},{"alt":null,"id":25412919296173,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/tattoo-needle-cartridge-2-0609-denergy.jpg?v=1686721007"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/tattoo-needle-cartridge-2-0609-denergy.jpg?v=1686721007","width":1600},{"alt":null,"id":25412944920749,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/100PCS_Denergy_RM.jpg?v=1686721839","width":1600}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003eWhat will you get ?\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e5 boxes of cartridges mixed total 100pcs \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e#12 3RL 5RL 7RL 9RL 11RL (100PCS)\u003cbr\u003e#12 3RS 5RS 7RS 9RS 11RS (100PCS)\u003cbr\u003e#12 5M1 7M1 9M1 11M1 13M1 (100PCS)\u003cbr\u003e#12 7RM 9RM 11RM 13RM 15RM (100PCS)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eProduct Details\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cspan\u003e1.Diameter of 0.350mm gauge #12\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e2.Needle taper:tight needle,brings right contact with the skin and used to be used for bold lining works.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e3.Comes with membrane to prevent ink flow back in the tube or machine. Semi transparent \u0026amp; bevel tips make it easier to observe the needle and ink flow.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e4.Compatible with all rotary\/Coiled machines.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e5.Box of 20Pcs,EO gas sterilized and ready for use.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eItems for choosing from\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong\u003e#1203RL #1205RL #1207RL #1209RL #1211RL (100PCS)\u003cbr\u003e#1203RS #1205RS #1207RS #1209RS #1211RS (100PCS)\u003cbr\u003e#1205M1 #1207M1 #1209M1 #1211M1 #1213M1 (100PCS)\u003cbr\u003e#1207RM #1209RM #1211RM #1213RM #1215RM (100PCS)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eFor professionals only.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWe are a professional tattoo needles manufactory.\u003cbr data-mce-fragment=\"1\"\u003eWelcome to be a distributor of our high quality needle cartridges.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eOur mission is to provide worldwide tattoo artists with the most safe and reliable products.\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-7360695435437 .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-7360695435437", { 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-7360695435437-' + 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-7360695435437 .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.quickshopOptionsMap7360695435437 = {}; Shopify.quickshopLinkOptionSelectors7360695435437(product); } } else { //single variant layout.find('form.product-form .product-options > select').remove(); var variant_field = ''; layout.find('form.product-form').append(variant_field); } });