Dark hand large capacity bag
${function() {
const variantData = data.variant || {"id":"5527ab84-74c0-4586-98de-924e345e9891","product_id":"1e217298-8088-4257-bbe9-2491c2fc306a","title":"black","weight_unit":"kg","inventory_quantity":0,"sku":"66221021464-black","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f23d7a30c5030d6f6867d603829255d0.jpeg","path":"f23d7a30c5030d6f6867d603829255d0.jpeg","width":1080,"height":1442,"alt":"","aspect_ratio":0.7489597780859917},"wholesale_price":[{"price":39.75,"min_quantity":1}],"weight":"0.4","compare_at_price":"47.32","price":"39.75","retail_price":"47.32","available":true,"url":"\/products\/dark-hand-large-capacity-bag?variant=5527ab84-74c0-4586-98de-924e345e9891","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5527ab84-74c0-4586-98de-924e345e9891","product_id":"1e217298-8088-4257-bbe9-2491c2fc306a","title":"black","weight_unit":"kg","inventory_quantity":0,"sku":"66221021464-black","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f23d7a30c5030d6f6867d603829255d0.jpeg","path":"f23d7a30c5030d6f6867d603829255d0.jpeg","width":1080,"height":1442,"alt":"","aspect_ratio":0.7489597780859917},"wholesale_price":[{"price":39.75,"min_quantity":1}],"weight":"0.4","compare_at_price":"47.32","price":"39.75","retail_price":"47.32","available":true,"url":"\/products\/dark-hand-large-capacity-bag?variant=5527ab84-74c0-4586-98de-924e345e9891","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}