${function() {
const variantData = data.variant || {"id":"3d3ad097-5fd8-49a1-8396-28f6f909ae90","product_id":"b5c97dc3-1d3c-4eeb-92ec-ed0584cc2801","title":"15*6.3A","weight_unit":"kg","inventory_quantity":0,"sku":"66221029997-15*6.3A","barcode":"","position":1,"option1":"15*6.3A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/158a5bbd6de59ed87519e181f294cb69.jpeg","path":"158a5bbd6de59ed87519e181f294cb69.jpeg","width":800,"height":800,"alt":"Christmas wrought iron lantern glowing decoration","aspect_ratio":1},"wholesale_price":[{"price":11.75,"min_quantity":1}],"weight":"1","compare_at_price":"21.76","price":"11.75","retail_price":"21.76","available":true,"url":"\/products\/christmas-wrought-iron-lantern-glowing-decoration?variant=3d3ad097-5fd8-49a1-8396-28f6f909ae90","available_quantity":999999999,"options":[{"name":"size","value":"15*6.3A"}],"off_ratio":46,"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.