${function() {
const variantData = data.variant || {"id":"5bdde1cf-9db9-4ab4-8334-4eec1790bebf","product_id":"acb56506-a574-497b-803c-785860b69a76","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"Free-Angle-Black-1pc","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42c02a90dbd86972d47cf8456bc56b4e.png","path":"42c02a90dbd86972d47cf8456bc56b4e.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/free-angle-adjustable-wall-mounted-tv-bracket?variant=5bdde1cf-9db9-4ab4-8334-4eec1790bebf","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.