Elegant waisted pleated cuff dress
${function() {
const variantData = data.variant || {"id":"f9443140-5e87-4257-8ac8-e71b02fc3a40","product_id":"077282dd-af58-44f2-ad69-35a62272b8af","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"662402051454-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/417cff76e7d5348489a968a213b157c6.jpeg","path":"417cff76e7d5348489a968a213b157c6.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":55.49,"min_quantity":1}],"weight":"400","compare_at_price":"79","price":"55.49","retail_price":"79","available":true,"url":"\/products\/elegant-waisted-pleated-cuff-dress-uwc7?variant=f9443140-5e87-4257-8ac8-e71b02fc3a40","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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":"f9443140-5e87-4257-8ac8-e71b02fc3a40","product_id":"077282dd-af58-44f2-ad69-35a62272b8af","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"662402051454-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/417cff76e7d5348489a968a213b157c6.jpeg","path":"417cff76e7d5348489a968a213b157c6.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":55.49,"min_quantity":1}],"weight":"400","compare_at_price":"79","price":"55.49","retail_price":"79","available":true,"url":"\/products\/elegant-waisted-pleated-cuff-dress-uwc7?variant=f9443140-5e87-4257-8ac8-e71b02fc3a40","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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 `
`;
}()}