Jump to content

SQL Manager or New Module/Menu Item ? What is the best practice?


rv01

Recommended Posts

Hi,

This is about best practice when you add a custom functionality to the back office.

 

Many of us (I guess) use a fulfilment service/external company. We have to give separate information on how to prepare and to send the orders.

There is nothing in the back office for that purpose.

 

To communicate with the logistics (fulfilment) we send CSV files: one  about the "ready to go" orders  packaging instructions and a second one about the customers addresses (labels).

 

Now, two different elaborated SQL "Select" recorded in the "SQL Manager" make the trick.

Problem: While SQL is easy to write and read, PHP looks quite an horrible "write only" code. 

 

It would be nice to be able to add those 2 "SQL" in the BO "Orders" menu, thus having 2 new modules/entries like "Prepare Orders" and "Send Orders", I guess.

 

Question: How to do that (in layman's terms please)?  

 

Thanks all.

Edited by rv01 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...