${function() {
const variantData = data.variant || {"id":"00b5b84f-2ff5-4fc8-8186-aa58c30b9653","product_id":"80607889-3605-4132-88fb-8e7a3f754e63","title":"Color-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230525-E06-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e8c7cdc08ad66e462b590a36a566322.jpg","path":"4e8c7cdc08ad66e462b590a36a566322.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/summer-new-loose-sleeveless-comfortable-casual-tops-womens-colorful-print-pullover-street-hipster-undershirt?variant=00b5b84f-2ff5-4fc8-8186-aa58c30b9653","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"name":"Size","value":"S"}],"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.