Metal Chain Shawl Versatile Warm Outer Wear
${function() {
const variantData = data.variant || {"id":"bcf8ad37-87f3-4f15-b349-1fc02c833a34","product_id":"50e651e7-f03f-4f01-9021-472548dfb439","title":"beige","weight_unit":"kg","inventory_quantity":0,"sku":"662211041412-beige","barcode":"","position":2,"option1":"beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8eab892372fad0c6a3f3e52757d6e014.jpeg","path":"8eab892372fad0c6a3f3e52757d6e014.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"35.6","price":"29.9","retail_price":"35.6","available":true,"url":"\/products\/metal-chain-shawl-versatile-warm-outer-wear?variant=bcf8ad37-87f3-4f15-b349-1fc02c833a34","available_quantity":999999999,"options":[{"name":"color","value":"beige"}],"off_ratio":16,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"bcf8ad37-87f3-4f15-b349-1fc02c833a34","product_id":"50e651e7-f03f-4f01-9021-472548dfb439","title":"beige","weight_unit":"kg","inventory_quantity":0,"sku":"662211041412-beige","barcode":"","position":2,"option1":"beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8eab892372fad0c6a3f3e52757d6e014.jpeg","path":"8eab892372fad0c6a3f3e52757d6e014.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"35.6","price":"29.9","retail_price":"35.6","available":true,"url":"\/products\/metal-chain-shawl-versatile-warm-outer-wear?variant=bcf8ad37-87f3-4f15-b349-1fc02c833a34","available_quantity":999999999,"options":[{"name":"color","value":"beige"}],"off_ratio":16,"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 `
`;
}()}