GOX 1.2V AA OR AAA HI-MH Rechargeable Batteries
${function() {
const variantData = data.variant || {"id":"de7c0893-3197-40ab-84db-d80b969d80f6","product_id":"f770b06e-483c-4c10-acb2-0a988ac82a89","title":"4pcs 2450mAh AA ","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"4pcs 2450mAh AA ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":260,"min_quantity":1}],"weight":"0","compare_at_price":"500","price":"260","retail_price":"500","available":true,"url":"\/products\/gox-1-2v-aa-or-aaa-hi-mh-rechargeable-batteries?variant=de7c0893-3197-40ab-84db-d80b969d80f6","available_quantity":999999999,"options":[{"name":"SKU","value":"4pcs 2450mAh AA "}],"off_ratio":48,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"de7c0893-3197-40ab-84db-d80b969d80f6","product_id":"f770b06e-483c-4c10-acb2-0a988ac82a89","title":"4pcs 2450mAh AA ","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"4pcs 2450mAh AA ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":260,"min_quantity":1}],"weight":"0","compare_at_price":"500","price":"260","retail_price":"500","available":true,"url":"\/products\/gox-1-2v-aa-or-aaa-hi-mh-rechargeable-batteries?variant=de7c0893-3197-40ab-84db-d80b969d80f6","available_quantity":999999999,"options":[{"name":"SKU","value":"4pcs 2450mAh AA "}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 399;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
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 `
`;
}()}