${function() {
const variantData = data.variant || {"id":"91c4d9ff-0232-492c-b98a-553ab93e6c32","product_id":"5aeab0f3-e1de-43a0-98de-682390b1d50f","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"131-231127-A10-MT0071944W-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20fc00814ba8d1f25b83f08561b26931.jpeg","path":"20fc00814ba8d1f25b83f08561b26931.jpeg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/christmas-cute-mouse-art-print-casual-t-shirt?variant=91c4d9ff-0232-492c-b98a-553ab93e6c32","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "amount";
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.