Stylish Bestie Long-sleeved Sports and leisure Two-piece suits
${function() {
const variantData = data.variant || {"id":"73a70388-22d8-424b-a2de-174f527abe1c","product_id":"005fb4e8-bab2-4417-a80a-1c7d5178f057","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111115-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","path":"ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","width":1200,"height":1498,"alt":"","aspect_ratio":0.8010680907877169},"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=73a70388-22d8-424b-a2de-174f527abe1c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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":"73a70388-22d8-424b-a2de-174f527abe1c","product_id":"005fb4e8-bab2-4417-a80a-1c7d5178f057","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111115-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","path":"ff602dc8a29f4a14fbed58ab3deb27bb.jpeg","width":1200,"height":1498,"alt":"","aspect_ratio":0.8010680907877169},"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=73a70388-22d8-424b-a2de-174f527abe1c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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 `
`;
}()}