🚗🧰Car battery disconnect switch - pure copper thickened to prevent leakage
${function() {
const variantData = data.variant || {"id":"512fd13f-f78f-4088-8682-425e5d01b4e7","product_id":"22411023-7e2d-4778-9b3e-f4d3b60ebe85","title":"vertical-Buy 1","weight_unit":"kg","inventory_quantity":100,"sku":"ie15-vertical","barcode":"","position":1,"option1":"vertical","option2":"Buy 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8743b596bdbd01c925291510e1d27c44.gif","path":"8743b596bdbd01c925291510e1d27c44.gif","width":750,"height":850,"alt":"","aspect_ratio":0.8823529411764706},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"26","retail_price":"50","available":true,"url":"\/products\/5628150739893b62211?variant=512fd13f-f78f-4088-8682-425e5d01b4e7","available_quantity":999999999,"options":[{"name":"Type","value":"vertical"},{"name":"quantity","value":"Buy 1"}],"off_ratio":48,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('15');
const maxInventory = parseInt('70');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"512fd13f-f78f-4088-8682-425e5d01b4e7","product_id":"22411023-7e2d-4778-9b3e-f4d3b60ebe85","title":"vertical-Buy 1","weight_unit":"kg","inventory_quantity":100,"sku":"ie15-vertical","barcode":"","position":1,"option1":"vertical","option2":"Buy 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8743b596bdbd01c925291510e1d27c44.gif","path":"8743b596bdbd01c925291510e1d27c44.gif","width":750,"height":850,"alt":"","aspect_ratio":0.8823529411764706},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"26","retail_price":"50","available":true,"url":"\/products\/5628150739893b62211?variant=512fd13f-f78f-4088-8682-425e5d01b4e7","available_quantity":999999999,"options":[{"name":"Type","value":"vertical"},{"name":"quantity","value":"Buy 1"}],"off_ratio":48,"flashsale_info":[],"sales":1};
return `
`
}()}
${function() {
const minDays = parseInt('4');
const maxDays = parseInt('8');
const customText = "Estimated shipment\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${function() {
const postageFreeAmount = 1;
const custom_text = "Free shipping on all orders, no minimum purchase";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Cash on delivery, no minimum purchase quantity
Pay online and get 10% discount