Casual V Neck Solid Woman Dresses
${function() {
const variantData = data.variant || {"id":"707e405a-4fd5-4cf6-9f0b-1aee3020b99d","product_id":"f4bb477f-ee74-4d34-b701-8e46f143a776","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011303-purple-s","barcode":"","position":17,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a82e90119f51938c5dc756bc5dd14782.webp","path":"a82e90119f51938c5dc756bc5dd14782.webp","width":720,"height":900,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"41.54","price":"34.89","retail_price":"41.54","available":true,"url":"\/products\/casual-v-neck-solid-woman-dresses?variant=707e405a-4fd5-4cf6-9f0b-1aee3020b99d","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":3};
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":"707e405a-4fd5-4cf6-9f0b-1aee3020b99d","product_id":"f4bb477f-ee74-4d34-b701-8e46f143a776","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011303-purple-s","barcode":"","position":17,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a82e90119f51938c5dc756bc5dd14782.webp","path":"a82e90119f51938c5dc756bc5dd14782.webp","width":720,"height":900,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"41.54","price":"34.89","retail_price":"41.54","available":true,"url":"\/products\/casual-v-neck-solid-woman-dresses?variant=707e405a-4fd5-4cf6-9f0b-1aee3020b99d","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":3};
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 `
`;
}()}