Autumn V-Neck Loose Long Sleeve Print Dress
${function() {
const variantData = data.variant || {"id":"07ef6624-189b-44c9-a980-a0a4798279d8","product_id":"87deb998-b5f2-4952-ba97-484bc45b73b3","title":"green-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220808437-green-2XL","barcode":"","position":6,"option1":"green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba9742eeedddd97f2881485db084b589.jpeg","path":"ba9742eeedddd97f2881485db084b589.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.26,"min_quantity":1}],"weight":"0","compare_at_price":"48.44","price":"42.26","retail_price":"48.44","available":true,"url":"\/products\/autumn-v-neck-loose-long-sleeve-print-dress?variant=07ef6624-189b-44c9-a980-a0a4798279d8","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"2XL"}],"off_ratio":13,"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":"07ef6624-189b-44c9-a980-a0a4798279d8","product_id":"87deb998-b5f2-4952-ba97-484bc45b73b3","title":"green-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220808437-green-2XL","barcode":"","position":6,"option1":"green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba9742eeedddd97f2881485db084b589.jpeg","path":"ba9742eeedddd97f2881485db084b589.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.26,"min_quantity":1}],"weight":"0","compare_at_price":"48.44","price":"42.26","retail_price":"48.44","available":true,"url":"\/products\/autumn-v-neck-loose-long-sleeve-print-dress?variant=07ef6624-189b-44c9-a980-a0a4798279d8","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"2XL"}],"off_ratio":13,"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 `
`;
}()}