Color contrast Tied Open Back Dress
${function() {
const variantData = data.variant || {"id":"89f91389-35a2-4e31-b7ae-1f3bbe67b560","product_id":"53a4371b-4d2d-4f76-b06c-67600a6eb1bc","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"Lin5521070706-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c47ad79e02e9523c8e024b7eb7621bbe.jpg","path":"c47ad79e02e9523c8e024b7eb7621bbe.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":55,"min_quantity":1}],"weight":"0.38","compare_at_price":"37.04","price":"55","retail_price":"37.04","available":true,"url":"\/products\/color-contrast-tied-open-back-dress_eqmf?variant=89f91389-35a2-4e31-b7ae-1f3bbe67b560","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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":"89f91389-35a2-4e31-b7ae-1f3bbe67b560","product_id":"53a4371b-4d2d-4f76-b06c-67600a6eb1bc","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"Lin5521070706-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c47ad79e02e9523c8e024b7eb7621bbe.jpg","path":"c47ad79e02e9523c8e024b7eb7621bbe.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":55,"min_quantity":1}],"weight":"0.38","compare_at_price":"37.04","price":"55","retail_price":"37.04","available":true,"url":"\/products\/color-contrast-tied-open-back-dress_eqmf?variant=89f91389-35a2-4e31-b7ae-1f3bbe67b560","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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 `
`;
}()}