${function() {
const variantData = data.variant || {"id":"460f1ff1-f44c-482e-b6e8-77799f674429","product_id":"fb8546fa-b88d-439a-abd8-35ad5496dba6","title":"Black","weight_unit":"kg","inventory_quantity":999,"sku":"MKCTSPS-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4c30787c127b6fe4d5587cc8d92181b.png","path":"c4c30787c127b6fe4d5587cc8d92181b.png","width":693,"height":684,"alt":"","aspect_ratio":1.013157894736842},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40.99","retail_price":"0","available":true,"url":"\/products\/10in1-multifunctional-hand-combo-tool-sets-portable-stapler-folding-hand-pliers-scissors-with-ruler-office-home-diy-hand-tools?variant=460f1ff1-f44c-482e-b6e8-77799f674429","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.