White Formal Dress High-end Luxury Niche French Temperament One Shoulder Dress Women's Autumn Birthday Gift Solid Color Dresses
${function() {
const variantData = data.variant || {"id":"121039ac-56b0-4d2e-951e-e738b390495d","product_id":"a624c60d-3820-4b67-b707-8aa8325d6040","title":"S-black","weight_unit":"kg","inventory_quantity":0,"sku":"-S-black-A0015145","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/301e6271f7fab2e33583cf346f4f4df6.jpeg","path":"301e6271f7fab2e33583cf346f4f4df6.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.58","retail_price":"0","available":true,"url":"\/products\/white-formal-dress-high-end-luxury-niche-french-temperament-one-shoulder-dress-womens-autumn-birthday-gift-solid-color-dresses?variant=121039ac-56b0-4d2e-951e-e738b390495d","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"121039ac-56b0-4d2e-951e-e738b390495d","product_id":"a624c60d-3820-4b67-b707-8aa8325d6040","title":"S-black","weight_unit":"kg","inventory_quantity":0,"sku":"-S-black-A0015145","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/301e6271f7fab2e33583cf346f4f4df6.jpeg","path":"301e6271f7fab2e33583cf346f4f4df6.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.58","retail_price":"0","available":true,"url":"\/products\/white-formal-dress-high-end-luxury-niche-french-temperament-one-shoulder-dress-womens-autumn-birthday-gift-solid-color-dresses?variant=121039ac-56b0-4d2e-951e-e738b390495d","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}