${function() {
const variantData = data.variant || {"id":"99e5d80a-1473-4ceb-adf2-887b8ecc973d","product_id":"e6dc2d53-0de0-4d4f-b7b8-8549fe25fa3c","title":"Gray-55\"x55\"","weight_unit":"kg","inventory_quantity":1000,"sku":"17592195189617","barcode":"","position":1,"option1":"Gray","option2":"55\"x55\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbe093aaed336f38c82be9a717cafed5.png","path":"bbe093aaed336f38c82be9a717cafed5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.48,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"44.48","retail_price":"0","available":true,"url":"\/products\/1pc-linen-fabric-tablecloth-waterproof-and-oilproof-tablecloth-with-tassel-for-home-dinning-buffet-restaurant-coffee-shop-rectangular-heat-resistant-tablecloth-dust-proof-table-cover-home-decor-tabletop-decoration?variant=99e5d80a-1473-4ceb-adf2-887b8ecc973d","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"55\"x55\""}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"99e5d80a-1473-4ceb-adf2-887b8ecc973d","product_id":"e6dc2d53-0de0-4d4f-b7b8-8549fe25fa3c","title":"Gray-55\"x55\"","weight_unit":"kg","inventory_quantity":1000,"sku":"17592195189617","barcode":"","position":1,"option1":"Gray","option2":"55\"x55\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbe093aaed336f38c82be9a717cafed5.png","path":"bbe093aaed336f38c82be9a717cafed5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.48,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"44.48","retail_price":"0","available":true,"url":"\/products\/1pc-linen-fabric-tablecloth-waterproof-and-oilproof-tablecloth-with-tassel-for-home-dinning-buffet-restaurant-coffee-shop-rectangular-heat-resistant-tablecloth-dust-proof-table-cover-home-decor-tabletop-decoration?variant=99e5d80a-1473-4ceb-adf2-887b8ecc973d","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"55\"x55\""}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}