Hi,
Thank you for the screenshot, I now know exactly what you mean.
I’ve looked into this and the ‘edd_get_price’ function requires to return a numerical value, so returning a formatted string isn’t possible there.
The plugin currently only filters existing prices in the EDD templates, so adding new ones is a bit more complex. I looked to see if there was a function to call to display a proper sale price (when available), but that isn’t available at this stage.
Adding a new helper function to display a formatted <del>{regular price}</del> {sale price}
would be a nice addition. Can’t promise it will be in the next release just yet, but the chances are big ??
Until the next release, the only way to add a custom price on a template with sale price would be to manually do so. (can’t really say when a update will be released, I’m a bit swamped, if you have the skills, feel free to open a pull request: https://github.com/jeroensormani/edd-sale-price)
Hope I’m making sense here.
Have a great day!
Jeroen Sormani