Tie-dye Printed Drawstring Draped Swimsuit
${function() {
const variantData = data.variant || {"id":"6960c968-6daa-475c-b38e-81b332974b01","product_id":"05104b27-b43f-4316-8699-37d86fb4b2f5","title":"Red-S","weight_unit":"kg","inventory_quantity":956,"sku":"BL230309309-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74dbe31199622df412976528e17a1192.jpeg","path":"74dbe31199622df412976528e17a1192.jpeg","width":1080,"height":1340,"alt":"","aspect_ratio":0.8059701492537313},"wholesale_price":[{"price":28.9,"min_quantity":1}],"weight":"0","compare_at_price":"35.84","price":"28.9","retail_price":"35.84","available":true,"url":"\/products\/tie-dye-printed-drawstring-draped-swimsuit-yc0t?variant=6960c968-6daa-475c-b38e-81b332974b01","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":19,"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":"6960c968-6daa-475c-b38e-81b332974b01","product_id":"05104b27-b43f-4316-8699-37d86fb4b2f5","title":"Red-S","weight_unit":"kg","inventory_quantity":956,"sku":"BL230309309-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74dbe31199622df412976528e17a1192.jpeg","path":"74dbe31199622df412976528e17a1192.jpeg","width":1080,"height":1340,"alt":"","aspect_ratio":0.8059701492537313},"wholesale_price":[{"price":28.9,"min_quantity":1}],"weight":"0","compare_at_price":"35.84","price":"28.9","retail_price":"35.84","available":true,"url":"\/products\/tie-dye-printed-drawstring-draped-swimsuit-yc0t?variant=6960c968-6daa-475c-b38e-81b332974b01","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":19,"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 `
`;
}()}