Shopify.quickshopOptionsMap2263958552630 = {}; Shopify.quickshopUpdateOptionsInSelector2263958552630 = function(selectorIndex) { switch (selectorIndex) { case 0: var key = 'root'; var selector = jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(0)'); break; case 1: var key = jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(0)').val(); var selector = jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(1)'); break; case 2: var key = jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(0)').val(); key += ' / ' + jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(1)').val(); var selector = jQuery('#product-form-quick-2263958552630 .single-option-selector:eq(2)'); } var initialValue = selector.val(); selector.empty(); var availableOptions = Shopify.quickshopOptionsMap2263958552630[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-2263958552630 .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.quickshopLinkOptionSelectors2263958552630 = 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.quickshopOptionsMap2263958552630['root'] = Shopify.quickshopOptionsMap2263958552630['root'] || []; Shopify.quickshopOptionsMap2263958552630['root'].push(variant.option1); Shopify.quickshopOptionsMap2263958552630['root'] = Shopify.uniq(Shopify.quickshopOptionsMap2263958552630['root']); // Gathering values for the 2nd drop-down. if (product.options.length > 1) { var key = variant.option1; Shopify.quickshopOptionsMap2263958552630[key] = Shopify.quickshopOptionsMap2263958552630[key] || []; Shopify.quickshopOptionsMap2263958552630[key].push(variant.option2); Shopify.quickshopOptionsMap2263958552630[key] = Shopify.uniq(Shopify.quickshopOptionsMap2263958552630[key]); } // Gathering values for the 3rd drop-down. if (product.options.length === 3) { var key = variant.option1 + ' / ' + variant.option2; Shopify.quickshopOptionsMap2263958552630[key] = Shopify.quickshopOptionsMap2263958552630[key] || []; Shopify.quickshopOptionsMap2263958552630[key].push(variant.option3); Shopify.quickshopOptionsMap2263958552630[key] = Shopify.uniq(Shopify.quickshopOptionsMap2263958552630[key]); } //} } // Update options right away. Shopify.quickshopUpdateOptionsInSelector2263958552630(0); if (product.options.length > 1) Shopify.quickshopUpdateOptionsInSelector2263958552630(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector2263958552630(2); // When there is an update in the first dropdown. jQuery("#product-form-quick-2263958552630 .single-option-selector:eq(0)").change(function() { Shopify.quickshopUpdateOptionsInSelector2263958552630(1); if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector2263958552630(2); return true; }); // When there is an update in the second dropdown. jQuery("#product-form-quick-2263958552630 .single-option-selector:eq(1)").change(function() { if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector2263958552630(2); return true; }); }; productsObj.id2263958552630 = {"id":2263958552630,"title":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box","handle":"0-35mm-premium-v2-membrane-tattoo-needle-cartridge-20pcs-box","description":"The magnum tattoo needles are used for filling in large areas, blending and shading. They deliver lots of ink and ideal for large areas of color,and they make less damage to the skin during multiple passes.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eSizes of 0.35mm magnum needles as following:\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003eC1205M1\u003cbr\u003eC1207M1\u003cbr\u003eC1209M1\u003cbr\u003eC1211M1\u003cbr\u003eC1213M1\u003cbr\u003eC1215M1\u003cbr\u003eC1217M1\u003cbr\u003eC1219M1\u003cbr\u003eC1221M1\u003cbr\u003eC1223M1\u003cbr\u003eC1225M1\u003cbr\u003e\u003cbr\u003eDiameter of 0.35mm\u003cbr\u003eNeedle taper:Medium,brings longer contact with the skin a depositing more ink,and commonly used for shading and colour on large areas.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eFeatures of Premium V2 Needle Cartridges\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e1.Safety membrane drive system,prevent the ink liquid from flowing back into the machines.\u003cbr\u003e2.Semi grey tip housing for better visibility pack of ink.\u003cbr\u003e3.Compatible for all cheyenne style pen machines.\u003cbr\u003e4.20pcs per packet,Pre-sterilized by E.O.gas and ready for use.\u003cbr\u003e\u003cbr\u003eFor professional disposable use only.\u003cbr\u003eWelcome to drop message on wholesale and distribution offers.","published_at":"2019-08-08T20:03:40+08:00","created_at":"2019-08-08T20:08:19+08:00","vendor":"Denergy","type":"Tattoo Needle Cartridge","tags":[],"price":995,"price_min":995,"price_max":1295,"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":21089602895926,"title":"1205M1","option1":"1205M1","option2":null,"option3":null,"sku":"MC1205M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1205M1","public_title":"1205M1","options":["1205M1"],"price":995,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200887","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089602928694,"title":"1207M1","option1":"1207M1","option2":null,"option3":null,"sku":"MC1207M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1207M1","public_title":"1207M1","options":["1207M1"],"price":1195,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200894","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089602961462,"title":"1209M1","option1":"1209M1","option2":null,"option3":null,"sku":"MC1209M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1209M1","public_title":"1209M1","options":["1209M1"],"price":1195,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200900","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089602994230,"title":"1211M1","option1":"1211M1","option2":null,"option3":null,"sku":"MC1211M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1211M1","public_title":"1211M1","options":["1211M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200917","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603026998,"title":"1213M1","option1":"1213M1","option2":null,"option3":null,"sku":"MC1213M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1213M1","public_title":"1213M1","options":["1213M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200924","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603059766,"title":"1215M1","option1":"1215M1","option2":null,"option3":null,"sku":"MC1215M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1215M1","public_title":"1215M1","options":["1215M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200931","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603092534,"title":"1217M1","option1":"1217M1","option2":null,"option3":null,"sku":"MC1217M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1217M1","public_title":"1217M1","options":["1217M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200948","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603125302,"title":"1219M1","option1":"1219M1","option2":null,"option3":null,"sku":"MC1219M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1219M1","public_title":"1219M1","options":["1219M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200955","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603158070,"title":"1221M1","option1":"1221M1","option2":null,"option3":null,"sku":"MC1221M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1221M1","public_title":"1221M1","options":["1221M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200962","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603190838,"title":"1223M1","option1":"1223M1","option2":null,"option3":null,"sku":"MC1223M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1223M1","public_title":"1223M1","options":["1223M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200979","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":21089603223606,"title":"1225M1","option1":"1225M1","option2":null,"option3":null,"sku":"MC1225M1","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Denergy® 0.35mm Membrane Bugpin Magnum Tattoo Needle Cartridge 20pcs\/box - 1225M1","public_title":"1225M1","options":["1225M1"],"price":1295,"weight":200,"compare_at_price":null,"inventory_management":null,"barcode":"768172200986","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/discoverdevice.com\/cdn\/shop\/products\/0.35M1_7076588e-fb95-493b-833e-6dee3cf80701.jpg?v=1663742582","\/\/discoverdevice.com\/cdn\/shop\/products\/2_471b04be-bf73-40cc-9333-172f6518c022.jpg?v=1663742568","\/\/discoverdevice.com\/cdn\/shop\/products\/222_53fd7cbe-199c-4797-b7c4-ac5613e78ba3.jpg?v=1663742562","\/\/discoverdevice.com\/cdn\/shop\/products\/6_74366d42-252a-4d26-8bc2-30e57fde66fa.jpg?v=1663742574"],"featured_image":"\/\/discoverdevice.com\/cdn\/shop\/products\/0.35M1_7076588e-fb95-493b-833e-6dee3cf80701.jpg?v=1663742582","options":["Item Size"],"media":[{"alt":null,"id":24595214794925,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/0.35M1_7076588e-fb95-493b-833e-6dee3cf80701.jpg?v=1663742582"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/0.35M1_7076588e-fb95-493b-833e-6dee3cf80701.jpg?v=1663742582","width":1600},{"alt":null,"id":24595214860461,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_471b04be-bf73-40cc-9333-172f6518c022.jpg?v=1663742568"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/2_471b04be-bf73-40cc-9333-172f6518c022.jpg?v=1663742568","width":1500},{"alt":null,"id":24595214925997,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/222_53fd7cbe-199c-4797-b7c4-ac5613e78ba3.jpg?v=1663742562"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/222_53fd7cbe-199c-4797-b7c4-ac5613e78ba3.jpg?v=1663742562","width":1500},{"alt":null,"id":24595214827693,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/discoverdevice.com\/cdn\/shop\/products\/6_74366d42-252a-4d26-8bc2-30e57fde66fa.jpg?v=1663742574"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/products\/6_74366d42-252a-4d26-8bc2-30e57fde66fa.jpg?v=1663742574","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"The magnum tattoo needles are used for filling in large areas, blending and shading. They deliver lots of ink and ideal for large areas of color,and they make less damage to the skin during multiple passes.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eSizes of 0.35mm magnum needles as following:\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003eC1205M1\u003cbr\u003eC1207M1\u003cbr\u003eC1209M1\u003cbr\u003eC1211M1\u003cbr\u003eC1213M1\u003cbr\u003eC1215M1\u003cbr\u003eC1217M1\u003cbr\u003eC1219M1\u003cbr\u003eC1221M1\u003cbr\u003eC1223M1\u003cbr\u003eC1225M1\u003cbr\u003e\u003cbr\u003eDiameter of 0.35mm\u003cbr\u003eNeedle taper:Medium,brings longer contact with the skin a depositing more ink,and commonly used for shading and colour on large areas.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eFeatures of Premium V2 Needle Cartridges\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e1.Safety membrane drive system,prevent the ink liquid from flowing back into the machines.\u003cbr\u003e2.Semi grey tip housing for better visibility pack of ink.\u003cbr\u003e3.Compatible for all cheyenne style pen machines.\u003cbr\u003e4.20pcs per packet,Pre-sterilized by E.O.gas and ready for use.\u003cbr\u003e\u003cbr\u003eFor professional disposable use only.\u003cbr\u003eWelcome to drop message on wholesale and distribution offers."}; 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-2263958552630 .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-2263958552630", { 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-2263958552630-' + 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-2263958552630 .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.quickshopOptionsMap2263958552630 = {}; Shopify.quickshopLinkOptionSelectors2263958552630(product); } } else { //single variant layout.find('form.product-form .product-options > select').remove(); var variant_field = ''; layout.find('form.product-form').append(variant_field); } });