Halloween Belial Headgear Mask
${function() {
const variantData = data.variant || {"id":"d2132381-c25b-4260-bd38-71ac9755c3ac","product_id":"84e90a84-60ed-4783-b99d-c6e5f7536270","title":"Hand","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081802-Hand","barcode":"","position":2,"option1":"Hand","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/053f560422d9ab8df699236b0d94b505.jpeg","path":"053f560422d9ab8df699236b0d94b505.jpeg","width":750,"height":750,"alt":"Halloween Belial Headgear Mask","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/halloween-belial-headgear-mask?variant=d2132381-c25b-4260-bd38-71ac9755c3ac","available_quantity":999999999,"options":[{"name":"Style","value":"Hand"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
Hand
${function(){
const optName = "Style";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$15.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"d2132381-c25b-4260-bd38-71ac9755c3ac","product_id":"84e90a84-60ed-4783-b99d-c6e5f7536270","title":"Hand","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081802-Hand","barcode":"","position":2,"option1":"Hand","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/053f560422d9ab8df699236b0d94b505.jpeg","path":"053f560422d9ab8df699236b0d94b505.jpeg","width":750,"height":750,"alt":"Halloween Belial Headgear Mask","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/halloween-belial-headgear-mask?variant=d2132381-c25b-4260-bd38-71ac9755c3ac","available_quantity":999999999,"options":[{"name":"Style","value":"Hand"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"d2132381-c25b-4260-bd38-71ac9755c3ac","product_id":"84e90a84-60ed-4783-b99d-c6e5f7536270","title":"Hand","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081802-Hand","barcode":"","position":2,"option1":"Hand","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/053f560422d9ab8df699236b0d94b505.jpeg","path":"053f560422d9ab8df699236b0d94b505.jpeg","width":750,"height":750,"alt":"Halloween Belial Headgear Mask","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/halloween-belial-headgear-mask?variant=d2132381-c25b-4260-bd38-71ac9755c3ac","available_quantity":999999999,"options":[{"name":"Style","value":"Hand"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
people are viewing this right now