Vintage fringed dining room decorative tablecloth
${function() {
const variantData = data.variant || {"id":"186508d7-207b-41f3-a5fa-12818b32e0c6","product_id":"0f73339f-56e9-40d5-866c-3c2bfc240eb7","title":"yellow-30*120cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292192-yellow-30*120cm","barcode":"","position":1,"option1":"yellow","option2":"30*120cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3494b97902539978f195e12576a29372.jpeg","path":"3494b97902539978f195e12576a29372.jpeg","width":1388,"height":1388,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"0","compare_at_price":"17.16","price":"13.9","retail_price":"17.16","available":true,"url":"\/products\/vintage-fringed-dining-room-decorative-tablecloth?variant=186508d7-207b-41f3-a5fa-12818b32e0c6","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"30*120cm"}],"off_ratio":19,"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":"186508d7-207b-41f3-a5fa-12818b32e0c6","product_id":"0f73339f-56e9-40d5-866c-3c2bfc240eb7","title":"yellow-30*120cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292192-yellow-30*120cm","barcode":"","position":1,"option1":"yellow","option2":"30*120cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3494b97902539978f195e12576a29372.jpeg","path":"3494b97902539978f195e12576a29372.jpeg","width":1388,"height":1388,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"0","compare_at_price":"17.16","price":"13.9","retail_price":"17.16","available":true,"url":"\/products\/vintage-fringed-dining-room-decorative-tablecloth?variant=186508d7-207b-41f3-a5fa-12818b32e0c6","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"30*120cm"}],"off_ratio":19,"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 `
`;
}()}