${function() {
const variantData = data.variant || {"id":"bf472e9d-3c4d-49ba-841c-f6585d428a94","product_id":"510bc2e0-0536-4ae7-9339-0e9dfa095e5d","title":"25PCS","weight_unit":"kg","inventory_quantity":1000,"sku":"BBEMB-25PCS","barcode":"","position":1,"option1":"25PCS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4c094b14512ae7f68e64d438e4a0e89.jpeg","path":"e4c094b14512ae7f68e64d438e4a0e89.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/large-magnetic-sticks-construction-set-magnetic-designer-bar-rod-balls-building-blocks-educational-magnet-bricks-toys-kids-gift?variant=bf472e9d-3c4d-49ba-841c-f6585d428a94","available_quantity":999999999,"options":[{"name":"Quantity","value":"25PCS"}],"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.