Women's Solid Color Knitted Two-piece Suit
${function() {
const variantData = data.variant || {"id":"78a39627-120c-4040-86d4-1f60069dc225","product_id":"ac52784b-33e3-4fbe-9862-c672f79c6d66","title":"White coat-L","weight_unit":"kg","inventory_quantity":10000,"sku":"21111798-White coat-L","barcode":"","position":10,"option1":"White coat","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6013e5b76087bef7b06e80fd01addf6b.png","path":"6013e5b76087bef7b06e80fd01addf6b.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.53,"min_quantity":1}],"weight":"0.85","compare_at_price":"48.36","price":"38.53","retail_price":"48.36","available":true,"url":"\/products\/womens-solid-color-knitted-two-piece-suit?variant=78a39627-120c-4040-86d4-1f60069dc225","available_quantity":999999999,"options":[{"name":"Color","value":"White coat"},{"name":"Size","value":"L"}],"off_ratio":20,"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}
`
}()}
${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":"78a39627-120c-4040-86d4-1f60069dc225","product_id":"ac52784b-33e3-4fbe-9862-c672f79c6d66","title":"White coat-L","weight_unit":"kg","inventory_quantity":10000,"sku":"21111798-White coat-L","barcode":"","position":10,"option1":"White coat","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6013e5b76087bef7b06e80fd01addf6b.png","path":"6013e5b76087bef7b06e80fd01addf6b.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.53,"min_quantity":1}],"weight":"0.85","compare_at_price":"48.36","price":"38.53","retail_price":"48.36","available":true,"url":"\/products\/womens-solid-color-knitted-two-piece-suit?variant=78a39627-120c-4040-86d4-1f60069dc225","available_quantity":999999999,"options":[{"name":"Color","value":"White coat"},{"name":"Size","value":"L"}],"off_ratio":20,"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 `
`;
}()}