⚡️2022 NEW⚡️Mosquitos And Flies Killer Trap For Indoor And Outdoor
${function() {
const variantData = data.variant || {"id":"9ffe1493-88c7-42ab-864e-b51017ed217d","product_id":"9fd2321c-cd48-4833-96e0-1182bc35b662","title":"BLACK-NORMAL VERSION(6 lights)-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"BLACK","option2":"NORMAL VERSION(6 lights)","option3":"BUY 1","note":"","image":{"src":"\/\/img.staticdj.com\/c383adab25543e7ede41cc1b66946db8.jpeg","path":"c383adab25543e7ede41cc1b66946db8.jpeg","width":795,"height":795,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/\u26a1-2022-new\u26a1-mosquitos-and-flies-killer-trap-for-indoor-and-outdoor?variant=9ffe1493-88c7-42ab-864e-b51017ed217d","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"STYLE","value":"NORMAL VERSION(6 lights)"},{"name":"\ud83d\udc96BUY MORE SAVE MORE\ud83d\udc96","value":"BUY 1"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
BLACK
${function(){
const optName = "COLOR";
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}
`
}()}
Style:
NORMAL VERSION(6 lights)
${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}
`
}()}
💖Buy More Save More💖:
BUY 1
${function(){
const optName = "💖BUY MORE SAVE MORE💖";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
BUY 1
🔥BUY 2 - EXTRA 10% OFF🔥
⚡BUY 3 - EXTRA 12% OFF⚡
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$38.99
${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":"9ffe1493-88c7-42ab-864e-b51017ed217d","product_id":"9fd2321c-cd48-4833-96e0-1182bc35b662","title":"BLACK-NORMAL VERSION(6 lights)-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"BLACK","option2":"NORMAL VERSION(6 lights)","option3":"BUY 1","note":"","image":{"src":"\/\/img.staticdj.com\/c383adab25543e7ede41cc1b66946db8.jpeg","path":"c383adab25543e7ede41cc1b66946db8.jpeg","width":795,"height":795,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/\u26a1-2022-new\u26a1-mosquitos-and-flies-killer-trap-for-indoor-and-outdoor?variant=9ffe1493-88c7-42ab-864e-b51017ed217d","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"STYLE","value":"NORMAL VERSION(6 lights)"},{"name":"\ud83d\udc96BUY MORE SAVE MORE\ud83d\udc96","value":"BUY 1"}],"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":"9ffe1493-88c7-42ab-864e-b51017ed217d","product_id":"9fd2321c-cd48-4833-96e0-1182bc35b662","title":"BLACK-NORMAL VERSION(6 lights)-BUY 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"BLACK","option2":"NORMAL VERSION(6 lights)","option3":"BUY 1","note":"","image":{"src":"\/\/img.staticdj.com\/c383adab25543e7ede41cc1b66946db8.jpeg","path":"c383adab25543e7ede41cc1b66946db8.jpeg","width":795,"height":795,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/\u26a1-2022-new\u26a1-mosquitos-and-flies-killer-trap-for-indoor-and-outdoor?variant=9ffe1493-88c7-42ab-864e-b51017ed217d","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"STYLE","value":"NORMAL VERSION(6 lights)"},{"name":"\ud83d\udc96BUY MORE SAVE MORE\ud83d\udc96","value":"BUY 1"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}