Fashionable loose V-neck sweater Cardigan
${function() {
const variantData = data.variant || {"id":"f3b3885d-6a4b-4091-9782-b3aa9015e64a","product_id":"1c4f0f01-7ef6-479f-a281-c1675e612fd3","title":"Grey-F","weight_unit":"kg","inventory_quantity":0,"sku":"221021508-Grey-F","barcode":"","position":1,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7193c796ce89bdc4382529a3e0d6e1a.png","path":"e7193c796ce89bdc4382529a3e0d6e1a.png","width":900,"height":1080,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":46.32,"min_quantity":1}],"weight":"0.6","compare_at_price":"54.49","price":"46.32","retail_price":"54.49","available":true,"url":"\/products\/fashionable-loose-v-neck-sweater-cardigan-xli7?variant=f3b3885d-6a4b-4091-9782-b3aa9015e64a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":15,"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":"f3b3885d-6a4b-4091-9782-b3aa9015e64a","product_id":"1c4f0f01-7ef6-479f-a281-c1675e612fd3","title":"Grey-F","weight_unit":"kg","inventory_quantity":0,"sku":"221021508-Grey-F","barcode":"","position":1,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7193c796ce89bdc4382529a3e0d6e1a.png","path":"e7193c796ce89bdc4382529a3e0d6e1a.png","width":900,"height":1080,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":46.32,"min_quantity":1}],"weight":"0.6","compare_at_price":"54.49","price":"46.32","retail_price":"54.49","available":true,"url":"\/products\/fashionable-loose-v-neck-sweater-cardigan-xli7?variant=f3b3885d-6a4b-4091-9782-b3aa9015e64a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":15,"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 `
`;
}()}