${function() {
const variantData = data.variant || {"id":"eecfee9e-666e-409b-bc7f-1b1743c6ff68","product_id":"3f97b3e3-737c-4e6c-a608-6661e8d5536d","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"WL2023A9122D1-Red-S","barcode":"","position":3,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ae8342384c349bb3064256d99edfae0.jpeg","path":"1ae8342384c349bb3064256d99edfae0.jpeg","width":900,"height":1200,"alt":"She Is Mom T-shirt","aspect_ratio":0.75},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25","retail_price":"40","available":true,"url":"\/products\/she-is-mom-t-shirt?variant=eecfee9e-666e-409b-bc7f-1b1743c6ff68","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":38,"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.