Ultra Soft Comfy Pleated Scarf
${function() {
const variantData = data.variant || {"id":"a88b98c5-85dc-4d63-b2ea-71a20038712a","product_id":"78c7c67e-06ad-4086-ae37-0140c47d8970","title":"blue gray-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O02C-bluegray-onesize","barcode":"","position":1,"option1":"blue gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d10c8f7f6f54c31032c4b4a936f75ee1.jpeg","path":"d10c8f7f6f54c31032c4b4a936f75ee1.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"0","price":"15.99","retail_price":"0","available":true,"url":"\/products\/ultra-soft-comfy-pleated-scarf?variant=a88b98c5-85dc-4d63-b2ea-71a20038712a","available_quantity":999999999,"options":[{"name":"Color","value":"blue gray"},{"name":"Size","value":"one size"}],"off_ratio":0,"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":"a88b98c5-85dc-4d63-b2ea-71a20038712a","product_id":"78c7c67e-06ad-4086-ae37-0140c47d8970","title":"blue gray-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O02C-bluegray-onesize","barcode":"","position":1,"option1":"blue gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d10c8f7f6f54c31032c4b4a936f75ee1.jpeg","path":"d10c8f7f6f54c31032c4b4a936f75ee1.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0.07","compare_at_price":"0","price":"15.99","retail_price":"0","available":true,"url":"\/products\/ultra-soft-comfy-pleated-scarf?variant=a88b98c5-85dc-4d63-b2ea-71a20038712a","available_quantity":999999999,"options":[{"name":"Color","value":"blue gray"},{"name":"Size","value":"one size"}],"off_ratio":0,"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 `
`;
}()}