Shopify.quickshopOptionsMap8192120127661 = {};
Shopify.quickshopUpdateOptionsInSelector8192120127661 = function(selectorIndex) {
switch (selectorIndex) {
case 0:
var key = 'root';
var selector = jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(0)');
break;
case 1:
var key = jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(0)').val();
var selector = jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(1)');
break;
case 2:
var key = jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(0)').val();
key += ' / ' + jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(1)').val();
var selector = jQuery('#product-form-quick-8192120127661 .single-option-selector:eq(2)');
}
var initialValue = selector.val();
selector.empty();
var availableOptions = Shopify.quickshopOptionsMap8192120127661[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-8192120127661 .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.quickshopLinkOptionSelectors8192120127661 = 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.quickshopOptionsMap8192120127661['root'] = Shopify.quickshopOptionsMap8192120127661['root'] || [];
Shopify.quickshopOptionsMap8192120127661['root'].push(variant.option1);
Shopify.quickshopOptionsMap8192120127661['root'] = Shopify.uniq(Shopify.quickshopOptionsMap8192120127661['root']);
// Gathering values for the 2nd drop-down.
if (product.options.length > 1) {
var key = variant.option1;
Shopify.quickshopOptionsMap8192120127661[key] = Shopify.quickshopOptionsMap8192120127661[key] || [];
Shopify.quickshopOptionsMap8192120127661[key].push(variant.option2);
Shopify.quickshopOptionsMap8192120127661[key] = Shopify.uniq(Shopify.quickshopOptionsMap8192120127661[key]);
}
// Gathering values for the 3rd drop-down.
if (product.options.length === 3) {
var key = variant.option1 + ' / ' + variant.option2;
Shopify.quickshopOptionsMap8192120127661[key] = Shopify.quickshopOptionsMap8192120127661[key] || [];
Shopify.quickshopOptionsMap8192120127661[key].push(variant.option3);
Shopify.quickshopOptionsMap8192120127661[key] = Shopify.uniq(Shopify.quickshopOptionsMap8192120127661[key]);
}
//}
}
// Update options right away.
Shopify.quickshopUpdateOptionsInSelector8192120127661(0);
if (product.options.length > 1) Shopify.quickshopUpdateOptionsInSelector8192120127661(1);
if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector8192120127661(2);
// When there is an update in the first dropdown.
jQuery("#product-form-quick-8192120127661 .single-option-selector:eq(0)").change(function() {
Shopify.quickshopUpdateOptionsInSelector8192120127661(1);
if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector8192120127661(2);
return true;
});
// When there is an update in the second dropdown.
jQuery("#product-form-quick-8192120127661 .single-option-selector:eq(1)").change(function() {
if (product.options.length === 3) Shopify.quickshopUpdateOptionsInSelector8192120127661(2);
return true;
});
};
productsObj.id8192120127661 = {"id":8192120127661,"title":"Tattoo Machine Stand 2 Pack–Soft Rubber Tattoo Pen Holder","handle":"tattoo-machine-stand-2-pack-soft-rubber-tattoo-pen-holder","description":"\u003cp\u003e\u003cstrong\u003eSecure Anti-Slip Design – No More Drops\u003c\/strong\u003e\u003cbr\u003eMade from premium soft rubber, each tattoo machine stand grips your machine securely and prevents accidental falls. Perfect for busy studios and safe workspace setup.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAlso Compatible with Rotary \u0026amp; Coil Machines\u003c\/strong\u003e\u003cbr\u003eThis universal tattoo machine holder fits most rotary pens and traditional coil tattoo guns. Ideal for artists who work with multiple styles or switch between machines during sessions.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e2-Pack for Dual Machine Sessions\u003c\/strong\u003e\u003cbr\u003eComes as a 2-piece set — perfect for setups with lining and shading machines side by side. Seamlessly supports fast switching without clutter or risk.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEasy to Clean \u0026amp; Maintain\u003c\/strong\u003e\u003cbr\u003eSmooth rubber material resists ink buildup and wipes clean in seconds. Keeps your station hygienic and looking professional at all times.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStable, Compact \u0026amp; Travel-Friendly\u003c\/strong\u003e\u003cbr\u003eEach tattoo pen holder features a stable base with a non-tip design, lightweight yet durable — perfect for both permanent setups and on-the-go artists.\u003c\/p\u003e","published_at":"2025-05-24T18:02:51+08:00","created_at":"2025-05-24T18:02:51+08:00","vendor":"Discover Device","type":"Tattoo Accessories","tags":[],"price":895,"price_min":895,"price_max":2195,"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":44499651821741,"title":"2 PACK","option1":"2 PACK","option2":null,"option3":null,"sku":"PT-01BK","requires_shipping":true,"taxable":false,"featured_image":{"id":37212777218221,"product_id":8192120127661,"position":4,"created_at":"2025-05-24T18:22:23+08:00","updated_at":"2025-05-24T19:23:03+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_dbd3964b-1c91-4f4b-a213-ebce73337df0.webp?v=1748085783","variant_ids":[44499651821741]},"available":true,"name":"Tattoo Machine Stand 2 Pack–Soft Rubber Tattoo Pen Holder - 2 PACK","public_title":"2 PACK","options":["2 PACK"],"price":895,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"701555872387","featured_media":{"alt":null,"id":29000107098285,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_dbd3964b-1c91-4f4b-a213-ebce73337df0.webp?v=1748085783"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":44499651854509,"title":"6 PACK","option1":"6 PACK","option2":null,"option3":null,"sku":"PT-01BK-6","requires_shipping":true,"taxable":false,"featured_image":{"id":37212777185453,"product_id":8192120127661,"position":1,"created_at":"2025-05-24T18:22:23+08:00","updated_at":"2025-05-24T19:23:10+08:00","alt":null,"width":1600,"height":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790","variant_ids":[44499651854509]},"available":true,"name":"Tattoo Machine Stand 2 Pack–Soft Rubber Tattoo Pen Holder - 6 PACK","public_title":"6 PACK","options":["6 PACK"],"price":2195,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"701555872394","featured_media":{"alt":null,"id":29000107163821,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790","\/\/discoverdevice.com\/cdn\/shop\/files\/4_94b0dfbe-4f7f-46a2-80bb-6c03810d113d.webp?v=1748085780","\/\/discoverdevice.com\/cdn\/shop\/files\/2_02641a31-d8f4-43ad-a517-45b7602b37e8.webp?v=1748085771","\/\/discoverdevice.com\/cdn\/shop\/files\/5_dbd3964b-1c91-4f4b-a213-ebce73337df0.webp?v=1748085783","\/\/discoverdevice.com\/cdn\/shop\/files\/3_47a65a76-ba4e-4536-a8ee-3604a630af51.webp?v=1748085765","\/\/discoverdevice.com\/cdn\/shop\/files\/6_a22df766-4416-47cb-b514-b1ab6f987454.webp?v=1748085758"],"featured_image":"\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790","options":["Style"],"media":[{"alt":null,"id":29000107163821,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/77ad065df0cdbabb08cf4475f046f61b_257f5686-5ebe-4647-9a51-97c83f0e00c9.webp?v=1748085790","width":1600},{"alt":null,"id":29000107065517,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4_94b0dfbe-4f7f-46a2-80bb-6c03810d113d.webp?v=1748085780"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/4_94b0dfbe-4f7f-46a2-80bb-6c03810d113d.webp?v=1748085780","width":1600},{"alt":null,"id":29000106999981,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/2_02641a31-d8f4-43ad-a517-45b7602b37e8.webp?v=1748085771"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/2_02641a31-d8f4-43ad-a517-45b7602b37e8.webp?v=1748085771","width":1600},{"alt":null,"id":29000107098285,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_dbd3964b-1c91-4f4b-a213-ebce73337df0.webp?v=1748085783"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/5_dbd3964b-1c91-4f4b-a213-ebce73337df0.webp?v=1748085783","width":1600},{"alt":null,"id":29000107032749,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/3_47a65a76-ba4e-4536-a8ee-3604a630af51.webp?v=1748085765"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/3_47a65a76-ba4e-4536-a8ee-3604a630af51.webp?v=1748085765","width":1600},{"alt":null,"id":29000107131053,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1600,"width":1600,"src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_a22df766-4416-47cb-b514-b1ab6f987454.webp?v=1748085758"},"aspect_ratio":1.0,"height":1600,"media_type":"image","src":"\/\/discoverdevice.com\/cdn\/shop\/files\/6_a22df766-4416-47cb-b514-b1ab6f987454.webp?v=1748085758","width":1600}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003eSecure Anti-Slip Design – No More Drops\u003c\/strong\u003e\u003cbr\u003eMade from premium soft rubber, each tattoo machine stand grips your machine securely and prevents accidental falls. Perfect for busy studios and safe workspace setup.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAlso Compatible with Rotary \u0026amp; Coil Machines\u003c\/strong\u003e\u003cbr\u003eThis universal tattoo machine holder fits most rotary pens and traditional coil tattoo guns. Ideal for artists who work with multiple styles or switch between machines during sessions.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e2-Pack for Dual Machine Sessions\u003c\/strong\u003e\u003cbr\u003eComes as a 2-piece set — perfect for setups with lining and shading machines side by side. Seamlessly supports fast switching without clutter or risk.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEasy to Clean \u0026amp; Maintain\u003c\/strong\u003e\u003cbr\u003eSmooth rubber material resists ink buildup and wipes clean in seconds. Keeps your station hygienic and looking professional at all times.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStable, Compact \u0026amp; Travel-Friendly\u003c\/strong\u003e\u003cbr\u003eEach tattoo pen holder features a stable base with a non-tip design, lightweight yet durable — perfect for both permanent setups and on-the-go artists.\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-8192120127661 .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-8192120127661", {
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-8192120127661-' + i + '-' + valueHandle;
if (optionValues.indexOf(value) < 0) {
options += '