getProductPrices in calculationHelper calculates several type of prices for the product object. Among them there is discountAmount. Could you please consider adding the percentage of the discount as well? I know it can be calculated in the layout but it would be much more clean to have it in the prices array and I wouldn't need to create an override only because of this.
Perfect idea.
In this time we use plugin Labels, which calculated the percentage of the discount self and show as label on product.
This exists already. Scroll down where you see usually the params of the plugins. in the customfield prototype edit, not in the product edit!
Quote from: Milbo on March 11, 2023, 13:54:42 PM
This exists already. Scroll down where you see usually the params of the plugins. in the customfield prototype edit, not in the product edit!
But this is a plugin, I could use this in VM -> configuration -> pricing -> show following prices. Any chance for that?