Chic Solid Color Sleeveless 2pieces Set
${function() {
const variantData = data.variant || {"id":"2ad0323c-7b5a-4d9d-8e78-776465a9df5a","product_id":"0d991d94-ef81-4ef5-ab66-f390dc2b609f","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"2206251925-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26bc4fc636a223315aac80374dceace2.jpeg","path":"26bc4fc636a223315aac80374dceace2.jpeg","width":1349,"height":1686,"alt":"","aspect_ratio":0.8001186239620404},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"58","price":"38.99","retail_price":"58","available":true,"url":"\/products\/chic-solid-color-sleeveless-2pieces-set-4f6n-l183?variant=2ad0323c-7b5a-4d9d-8e78-776465a9df5a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":14};
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":"2ad0323c-7b5a-4d9d-8e78-776465a9df5a","product_id":"0d991d94-ef81-4ef5-ab66-f390dc2b609f","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"2206251925-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26bc4fc636a223315aac80374dceace2.jpeg","path":"26bc4fc636a223315aac80374dceace2.jpeg","width":1349,"height":1686,"alt":"","aspect_ratio":0.8001186239620404},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"58","price":"38.99","retail_price":"58","available":true,"url":"\/products\/chic-solid-color-sleeveless-2pieces-set-4f6n-l183?variant=2ad0323c-7b5a-4d9d-8e78-776465a9df5a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":14};
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 `
`;
}()}