Stylish Bestie Long-sleeved Sports and leisure Two-piece suits
${function() {
const variantData = data.variant || {"id":"83748f1c-bf81-4b79-b0c9-7ed756ffeb46","product_id":"005fb4e8-bab2-4417-a80a-1c7d5178f057","title":"pink-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111115-pink-s","barcode":"","position":11,"option1":"pink","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da86ceda1a78ef0c6e62c5e3c89bb09a.jpeg","path":"da86ceda1a78ef0c6e62c5e3c89bb09a.jpeg","width":1200,"height":1377,"alt":"","aspect_ratio":0.8714596949891068},"wholesale_price":[{"price":34.45,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"34.45","retail_price":"40","available":true,"url":"\/products\/stylish-bestie-long-sleeved-sports-and-leisure-two-piece-suits?variant=83748f1c-bf81-4b79-b0c9-7ed756ffeb46","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"s"}],"off_ratio":14,"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":"83748f1c-bf81-4b79-b0c9-7ed756ffeb46","product_id":"005fb4e8-bab2-4417-a80a-1c7d5178f057","title":"pink-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111115-pink-s","barcode":"","position":11,"option1":"pink","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da86ceda1a78ef0c6e62c5e3c89bb09a.jpeg","path":"da86ceda1a78ef0c6e62c5e3c89bb09a.jpeg","width":1200,"height":1377,"alt":"","aspect_ratio":0.8714596949891068},"wholesale_price":[{"price":34.45,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"34.45","retail_price":"40","available":true,"url":"\/products\/stylish-bestie-long-sleeved-sports-and-leisure-two-piece-suits?variant=83748f1c-bf81-4b79-b0c9-7ed756ffeb46","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"s"}],"off_ratio":14,"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 `
`;
}()}