Hi there, firstly, thank you for trying out my plugin and taking the time to submit feedback, also apologies for the delayed reply. I realised notifications were turned off on this forum. With regard to your query, it can be done, there are just a few considerations we need to make:
- When editing orders that have already been placed, the system pulls the price of the product saved with the order i.e at time of order, not necessarily the current price of the product. So its not necessarily the regular price, if the product was sold while on a sale, that would be the base price pulled through which can then be adjusted
- This isn’t the case for new orders so I can see the value add of defaulting to the sale price for new orders created in the admin area, however as sale prices can also be scheduled, should the system check for if the item is actually on sale or always grab the sale price if present?
- The idea for the discount box in both WooCommerce default and this plugin is to allow for custom discount overrides, either via a coupon or directly on the product, maybe its a special order or something, but its generally a discount separate from the usual “sales price” discount. We wanted to keep this function intact with the plugin
I have given it some more thought based on the above and other possible cases that could arise and wanted to know what you think about keeping the manual entry as we have but also adding a small button to auto-populate the discount field with the “Sales price” of the product if available. This way we can keep the existing functionality while still allowing you to quickly add the sales price without need to manually type it or look it up. Could that work, let me know!
Thanks again and apart from the above, I really hope the plugin is providing some value and usefulness to you with regard to the topic of INC tax order editing and viewing!