${function() {
const variantData = data.variant || {"id":"5eb4cf4a-3bf8-4f32-9005-66a1b391ea84","product_id":"ee0678c7-6b7d-42a3-bdc3-4f4fb8af9dbe","title":"Pink-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"20230616-E12-Pink-XS","barcode":"","position":1,"option1":"Pink","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63b3f6cbb90bf4516ff4c7d6b81917da.jpg","path":"63b3f6cbb90bf4516ff4c7d6b81917da.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/summer-new-temperament-commuter-womens-plant-print-short-sleeved-t-shirt-loose-type-comfortable-casual-tops?variant=5eb4cf4a-3bf8-4f32-9005-66a1b391ea84","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS"}],"off_ratio":0,"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.