Poster Girl Print Swimsuit
${function() {
const variantData = data.variant || {"id":"b2e4ff20-31f0-4d11-b290-7151ca6bce3f","product_id":"d3a27df8-25df-4fcd-b0bc-fcf3d8bb4c34","title":"Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24012208-Skirt-F","barcode":"","position":7,"option1":"Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b82637ee6e8172eb4025302146112c2.jpeg","path":"7b82637ee6e8172eb4025302146112c2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"20.99","retail_price":"40","available":true,"url":"\/products\/poster-girl-print-swimsuit?variant=b2e4ff20-31f0-4d11-b290-7151ca6bce3f","available_quantity":999999999,"options":[{"name":"Color","value":"Skirt"},{"name":"Size","value":"F"}],"off_ratio":48,"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":"b2e4ff20-31f0-4d11-b290-7151ca6bce3f","product_id":"d3a27df8-25df-4fcd-b0bc-fcf3d8bb4c34","title":"Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24012208-Skirt-F","barcode":"","position":7,"option1":"Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b82637ee6e8172eb4025302146112c2.jpeg","path":"7b82637ee6e8172eb4025302146112c2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"20.99","retail_price":"40","available":true,"url":"\/products\/poster-girl-print-swimsuit?variant=b2e4ff20-31f0-4d11-b290-7151ca6bce3f","available_quantity":999999999,"options":[{"name":"Color","value":"Skirt"},{"name":"Size","value":"F"}],"off_ratio":48,"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 `
`;
}()}