${function() {
const variantData = data.variant || {"id":"554c6412-e09b-41a1-b8df-4474d31b70b2","product_id":"68ea5f22-35e0-4533-91a6-9d4868e79380","title":"127PCS-Black box","weight_unit":"kg","inventory_quantity":1000,"sku":"EHWDLCHHST-127PCS-Black-box","barcode":"","position":1,"option1":"127PCS-Black box","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c0206a2716493f904fb24e243ce1f2d.jpeg","path":"7c0206a2716493f904fb24e243ce1f2d.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/164-530pcs-box-heat-shrink-tube-tubing-insulation-shrinkable-tube-sleeving-wrap-wire-car-assortment-electrical-cable-polyolefin?variant=554c6412-e09b-41a1-b8df-4474d31b70b2","available_quantity":999999999,"options":[{"name":"Color","value":"127PCS-Black box"}],"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.