Animal print adorns the pillow cover
${function() {
const variantData = data.variant || {"id":"71dd4df1-66ff-492c-85ae-737bac3397a1","product_id":"09b68771-26c8-4bc6-9feb-17386ae4d11f","title":"black-Pillowcase + pillow core45*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292182-black-Pillowcase + pillow core45*45cm","barcode":"","position":3,"option1":"black","option2":"Pillowcase + pillow core45*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba69b1c8bb558f20f334162694305750.jpeg","path":"ba69b1c8bb558f20f334162694305750.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"0.2","compare_at_price":"30.34","price":"30.95","retail_price":"30.34","available":true,"url":"\/products\/animal-print-adorns-the-pillow-cover?variant=71dd4df1-66ff-492c-85ae-737bac3397a1","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Pillowcase + pillow core45*45cm"}],"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":"71dd4df1-66ff-492c-85ae-737bac3397a1","product_id":"09b68771-26c8-4bc6-9feb-17386ae4d11f","title":"black-Pillowcase + pillow core45*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292182-black-Pillowcase + pillow core45*45cm","barcode":"","position":3,"option1":"black","option2":"Pillowcase + pillow core45*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba69b1c8bb558f20f334162694305750.jpeg","path":"ba69b1c8bb558f20f334162694305750.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"0.2","compare_at_price":"30.34","price":"30.95","retail_price":"30.34","available":true,"url":"\/products\/animal-print-adorns-the-pillow-cover?variant=71dd4df1-66ff-492c-85ae-737bac3397a1","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Pillowcase + pillow core45*45cm"}],"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 `
`;
}()}