Strapless Ruffled Edge Tops & Shorts Set
${function() {
const variantData = data.variant || {"id":"a4506f4d-13a2-46d0-8fa3-c3a1f125e995","product_id":"b91781fe-15e9-43c6-b3f2-cd6c5de58d78","title":"Blue-2XL","weight_unit":"kg","inventory_quantity":10000,"sku":"220514434-Blue-2XL","barcode":"","position":1,"option1":"Blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a86c104c1bdef92260e32cc541575602.jpeg","path":"a86c104c1bdef92260e32cc541575602.jpeg","width":600,"height":799,"alt":"","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":31.66,"min_quantity":1}],"weight":"0","compare_at_price":"40.38","price":"31.66","retail_price":"40.38","available":true,"url":"\/products\/strapless-ruffled-edge-tops-shorts-set?variant=a4506f4d-13a2-46d0-8fa3-c3a1f125e995","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"2XL"}],"off_ratio":22,"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":"a4506f4d-13a2-46d0-8fa3-c3a1f125e995","product_id":"b91781fe-15e9-43c6-b3f2-cd6c5de58d78","title":"Blue-2XL","weight_unit":"kg","inventory_quantity":10000,"sku":"220514434-Blue-2XL","barcode":"","position":1,"option1":"Blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a86c104c1bdef92260e32cc541575602.jpeg","path":"a86c104c1bdef92260e32cc541575602.jpeg","width":600,"height":799,"alt":"","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":31.66,"min_quantity":1}],"weight":"0","compare_at_price":"40.38","price":"31.66","retail_price":"40.38","available":true,"url":"\/products\/strapless-ruffled-edge-tops-shorts-set?variant=a4506f4d-13a2-46d0-8fa3-c3a1f125e995","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"2XL"}],"off_ratio":22,"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 `
`;
}()}