${function() {
const variantData = data.variant || {"id":"ed5da1ef-5916-4d0e-a767-d87b3359b68d","product_id":"ec714791-a03b-484d-8a0a-e0db3523306e","title":"Pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308031301-Pink-S","barcode":"","position":7,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/308518ed36bfe7bc231f86327f8d938b.jpeg","path":"308518ed36bfe7bc231f86327f8d938b.jpeg","width":770,"height":1012,"alt":"Debbie Pleated Stylish Linen Dress","aspect_ratio":0.7608695652173914},"wholesale_price":[{"price":45.39,"min_quantity":1}],"weight":"0.4","compare_at_price":"63","price":"45.39","retail_price":"63","available":true,"url":"\/products\/debbie-pleated-stylish-linen-dress?variant=ed5da1ef-5916-4d0e-a767-d87b3359b68d","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":28,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.