save order data on another samll project

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
malik_kat
Posts: 8
Joined: 09 Jan 2024, 09:20

save order data on another samll project

Post by malik_kat » 19 Mar 2024, 10:56

Hello,

I want to build a small project using PHP for order management on it.
for example when the client makes a successful order I want to save this order data on another small project.
how I do that on aimeos shop.?
Can you please provide some hint to do this?


PHP Version 8.2.12
Laravel version: 10
Aimeos version: 2023.10
Environment: windows (XAMPP cross-platform web server).

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: save order data on another samll project

Post by aimeos » 20 Mar 2024, 11:30

The safest way is always to use the XML delivery service provider to push the order data to another system:
https://aimeos.org/docs/latest/manual/services/#xml

If both applications are totally controlled by you, you can also store the orders directly in the other application. The downside is that you may need to adapt your application if the table structure and you access the Aimeos tables directly in your other application. To store the order tables somewhere else, you only have to add a "db-order" resource configuration with the credentials of your other applications database server in your configuration:
https://github.com/aimeos/aimeos/blob/m ... #L110-L126
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply