French Sleeveless Slit Slim Dress
${function() {
const variantData = data.variant || {"id":"5b03fee8-3ea2-4413-af1d-3eaddb43d7e2","product_id":"d3c93d4b-4b51-4fd6-8458-b9e15d987dd0","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505676-Black-S","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb15abc88fcd82b90d4b38dbb8e410d9.png","path":"fb15abc88fcd82b90d4b38dbb8e410d9.png","width":1080,"height":1473,"alt":"","aspect_ratio":0.7331975560081466},"wholesale_price":[{"price":35.59,"min_quantity":1}],"weight":"0.26","compare_at_price":"56","price":"35.59","retail_price":"56","available":true,"url":"\/products\/french-sleeveless-slit-slim-dress-qyn3?variant=5b03fee8-3ea2-4413-af1d-3eaddb43d7e2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"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":"5b03fee8-3ea2-4413-af1d-3eaddb43d7e2","product_id":"d3c93d4b-4b51-4fd6-8458-b9e15d987dd0","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505676-Black-S","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb15abc88fcd82b90d4b38dbb8e410d9.png","path":"fb15abc88fcd82b90d4b38dbb8e410d9.png","width":1080,"height":1473,"alt":"","aspect_ratio":0.7331975560081466},"wholesale_price":[{"price":35.59,"min_quantity":1}],"weight":"0.26","compare_at_price":"56","price":"35.59","retail_price":"56","available":true,"url":"\/products\/french-sleeveless-slit-slim-dress-qyn3?variant=5b03fee8-3ea2-4413-af1d-3eaddb43d7e2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"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 `
`;
}()}