Closed
Description
Is your enhancement related to a problem? Please describe.
The WooCommerce feature has 2 files: WooCommerce.php and Orders.php. I suggest we have 4:
- WooCommerce.php - to keep just the common things between products and orders
- OrdersAutosuggest.php - the current Orders.php file but renamed
- Orders.php - code strictly related to orders
- Products.php - code strictly related to products
As we must keep backward compatibility, the Orders -> OrdersAutosuggest rename will need to be done in a way that calling the method in the old file calls the new file with a warning.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- I agree to follow this project's Code of Conduct