Christmas large plaid linen home garden sofa cushion
${function() {
const variantData = data.variant || {"id":"aa897b5d-e570-4f6e-8a34-32d746b71023","product_id":"027d126b-7001-4a7c-baf1-a83206c319db","title":"navy-pillowcase45*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292184-navy-pillowcase45*45cm","barcode":"","position":5,"option1":"navy","option2":"pillowcase45*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edc8ea6587f955c38609cb238ad2325f.jpeg","path":"edc8ea6587f955c38609cb238ad2325f.jpeg","width":1100,"height":919,"alt":"","aspect_ratio":1.1969532100108813},"wholesale_price":[{"price":5.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"7.05","price":"5.99","retail_price":"7.05","available":true,"url":"\/products\/christmas-large-plaid-linen-home-garden-sofa-cushion?variant=aa897b5d-e570-4f6e-8a34-32d746b71023","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"Size","value":"pillowcase45*45cm"}],"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":"aa897b5d-e570-4f6e-8a34-32d746b71023","product_id":"027d126b-7001-4a7c-baf1-a83206c319db","title":"navy-pillowcase45*45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292184-navy-pillowcase45*45cm","barcode":"","position":5,"option1":"navy","option2":"pillowcase45*45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edc8ea6587f955c38609cb238ad2325f.jpeg","path":"edc8ea6587f955c38609cb238ad2325f.jpeg","width":1100,"height":919,"alt":"","aspect_ratio":1.1969532100108813},"wholesale_price":[{"price":5.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"7.05","price":"5.99","retail_price":"7.05","available":true,"url":"\/products\/christmas-large-plaid-linen-home-garden-sofa-cushion?variant=aa897b5d-e570-4f6e-8a34-32d746b71023","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"Size","value":"pillowcase45*45cm"}],"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 `
`;
}()}