Woven hand woven blanket strip heart - filling yarn throw pillow
${function() {
const variantData = data.variant || {"id":"12f8e32a-0050-4721-929e-920af1d2dd50","product_id":"d2e089b8-26c9-47e4-b026-0447e6f050f1","title":"dark gray-30*30cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292180-dark gray-30*30cm","barcode":"","position":4,"option1":"dark gray","option2":"30*30cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62a5518d57ceabb5e502b9689d9b657d.jpeg","path":"62a5518d57ceabb5e502b9689d9b657d.jpeg","width":754,"height":860,"alt":"","aspect_ratio":0.8767441860465116},"wholesale_price":[{"price":56.28,"min_quantity":1}],"weight":"1","compare_at_price":"103.49","price":"56.28","retail_price":"103.49","available":true,"url":"\/products\/woven-hand-woven-blanket-strip-heart-filling-yarn-throw-pillow?variant=12f8e32a-0050-4721-929e-920af1d2dd50","available_quantity":999999999,"options":[{"name":"color","value":"dark gray"},{"name":"size","value":"30*30cm"}],"off_ratio":46,"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":"12f8e32a-0050-4721-929e-920af1d2dd50","product_id":"d2e089b8-26c9-47e4-b026-0447e6f050f1","title":"dark gray-30*30cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292180-dark gray-30*30cm","barcode":"","position":4,"option1":"dark gray","option2":"30*30cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62a5518d57ceabb5e502b9689d9b657d.jpeg","path":"62a5518d57ceabb5e502b9689d9b657d.jpeg","width":754,"height":860,"alt":"","aspect_ratio":0.8767441860465116},"wholesale_price":[{"price":56.28,"min_quantity":1}],"weight":"1","compare_at_price":"103.49","price":"56.28","retail_price":"103.49","available":true,"url":"\/products\/woven-hand-woven-blanket-strip-heart-filling-yarn-throw-pillow?variant=12f8e32a-0050-4721-929e-920af1d2dd50","available_quantity":999999999,"options":[{"name":"color","value":"dark gray"},{"name":"size","value":"30*30cm"}],"off_ratio":46,"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 `
`;
}()}