${function() {
const variantData = data.variant || {"id":"27dc5ee5-731c-4b70-a1e1-ede0501cd31a","product_id":"63de520c-d8ff-4b8c-aaf8-c6f125f764ee","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-240306-A03-MT0120RDFU-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09327822ce60390a88398acad9e1f8d0.jpeg","path":"09327822ce60390a88398acad9e1f8d0.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/horse-print-race-cotton-shirt-nxhx?variant=27dc5ee5-731c-4b70-a1e1-ede0501cd31a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.