Casual Sleeveless A-Line Mini Dress
${function() {
const variantData = data.variant || {"id":"6e53d567-1fd3-467c-bd61-19ca120f7291","product_id":"c47bbaa7-7033-4331-9fb4-2b7c483fcecf","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011918-grey-s","barcode":"","position":1,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19b7e17df8a399ab1b7239614c9c7801.jpg","path":"19b7e17df8a399ab1b7239614c9c7801.jpg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/casual-sleeveless-a-line-mini-dress?variant=6e53d567-1fd3-467c-bd61-19ca120f7291","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":33,"flashsale_info":[],"sales":2};
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":"6e53d567-1fd3-467c-bd61-19ca120f7291","product_id":"c47bbaa7-7033-4331-9fb4-2b7c483fcecf","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011918-grey-s","barcode":"","position":1,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19b7e17df8a399ab1b7239614c9c7801.jpg","path":"19b7e17df8a399ab1b7239614c9c7801.jpg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/casual-sleeveless-a-line-mini-dress?variant=6e53d567-1fd3-467c-bd61-19ca120f7291","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":33,"flashsale_info":[],"sales":2};
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 `
`;
}()}