Two-Piece Fashion Suspender Dress
${function() {
const variantData = data.variant || {"id":"fb5c902e-cf36-42ec-9b39-6a053c30193c","product_id":"769208b9-e33a-4db6-b279-6f6142c7e4a0","title":"green-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109091041-green-L","barcode":"","position":7,"option1":"green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e67ab019a864983d89962362a552058b.jpeg","path":"e67ab019a864983d89962362a552058b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":50.67,"min_quantity":1}],"weight":"0","compare_at_price":"62.56","price":"50.67","retail_price":"62.56","available":false,"url":"\/products\/two-piece-fashion-suspender-dress?variant=fb5c902e-cf36-42ec-9b39-6a053c30193c","available_quantity":0,"options":[{"name":"color","value":"green"},{"name":"size","value":"L"}],"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":"fb5c902e-cf36-42ec-9b39-6a053c30193c","product_id":"769208b9-e33a-4db6-b279-6f6142c7e4a0","title":"green-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109091041-green-L","barcode":"","position":7,"option1":"green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e67ab019a864983d89962362a552058b.jpeg","path":"e67ab019a864983d89962362a552058b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":50.67,"min_quantity":1}],"weight":"0","compare_at_price":"62.56","price":"50.67","retail_price":"62.56","available":false,"url":"\/products\/two-piece-fashion-suspender-dress?variant=fb5c902e-cf36-42ec-9b39-6a053c30193c","available_quantity":0,"options":[{"name":"color","value":"green"},{"name":"size","value":"L"}],"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 `
`;
}()}