Lace embroidery long-sleeved shirt
${function() {
const variantData = data.variant || {"id":"9c016b26-b3ee-4d86-8178-b2bd27f5c39f","product_id":"8cfba242-3dae-45bf-97f7-879dfb11b3d7","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011813-pink-s","barcode":"","position":9,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/261bc2377cb4d8697405d85c6a85a6ba.jpeg","path":"261bc2377cb4d8697405d85c6a85a6ba.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.43,"min_quantity":1}],"weight":"0.25","compare_at_price":"31.46","price":"26.43","retail_price":"31.46","available":true,"url":"\/products\/lace-embroidery-long-sleeved-shirt?variant=9c016b26-b3ee-4d86-8178-b2bd27f5c39f","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":1};
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}
`
}()}
${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":"9c016b26-b3ee-4d86-8178-b2bd27f5c39f","product_id":"8cfba242-3dae-45bf-97f7-879dfb11b3d7","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011813-pink-s","barcode":"","position":9,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/261bc2377cb4d8697405d85c6a85a6ba.jpeg","path":"261bc2377cb4d8697405d85c6a85a6ba.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.43,"min_quantity":1}],"weight":"0.25","compare_at_price":"31.46","price":"26.43","retail_price":"31.46","available":true,"url":"\/products\/lace-embroidery-long-sleeved-shirt?variant=9c016b26-b3ee-4d86-8178-b2bd27f5c39f","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":1};
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 `
`;
}()}