Casual Sports Style Round Neck Two-piece Suit
${function() {
const variantData = data.variant || {"id":"f767ca83-98e5-4c24-96c7-ff484b3a339a","product_id":"3fd4cd69-89c8-4cbf-8e2e-a58fcee30f18","title":"Dark Gray-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102205-darkgray-s","barcode":"","position":7,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d35b67c9abc75d86f8ea05f36bc4a54.jpeg","path":"3d35b67c9abc75d86f8ea05f36bc4a54.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.36,"min_quantity":1}],"weight":"0","compare_at_price":"43.81","price":"36.36","retail_price":"43.81","available":true,"url":"\/products\/casual-sports-style-round-neck-two-piece-suit?variant=f767ca83-98e5-4c24-96c7-ff484b3a339a","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":17,"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":"f767ca83-98e5-4c24-96c7-ff484b3a339a","product_id":"3fd4cd69-89c8-4cbf-8e2e-a58fcee30f18","title":"Dark Gray-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102205-darkgray-s","barcode":"","position":7,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d35b67c9abc75d86f8ea05f36bc4a54.jpeg","path":"3d35b67c9abc75d86f8ea05f36bc4a54.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.36,"min_quantity":1}],"weight":"0","compare_at_price":"43.81","price":"36.36","retail_price":"43.81","available":true,"url":"\/products\/casual-sports-style-round-neck-two-piece-suit?variant=f767ca83-98e5-4c24-96c7-ff484b3a339a","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":17,"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 `
`;
}()}