Home » Php » Recognitions of Certain Constellations in mysql

Recognitions of Certain Constellations in mysql

Posted by: admin October 20, 2018 Leave a comment

Questions:

I have the following problem. I have internally developed a script in PHP for orders in the shop that retrieves them via API and stores them in a Mysql DB. So far so good. Now I want to optimize everything. For the different individual articles, a function is called which determines the appropriate shipping method. However I have a problem if several articles are ordered. Then it is not always possible that the function determines the appropriate shipping method due to various parameters. In this case, the user must manually determine the shipping method. My idea would be to save it in a DB with a certain constellation and expand the function that searches for it in the Mysql DB.

Does anyone have any idea how to do this?

Every article ordered has its own unique ID.

Answers: