Where to store tracking info for products that have been ordered.

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
cjr
Posts: 14
Joined: 08 Jul 2020, 16:58

Where to store tracking info for products that have been ordered.

Post by cjr » 21 Jul 2020, 17:09

I am looking to store tracking information for services such as fedex and UPS for products that have been ordered.
After an order is submitted, a third party API will send back tracking information that I need to attach to the individual products of each order.

Should I use mshop_order_base_product_attr? I'm trying to figure out how exactly to use that table.

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

Re: Where to store tracking info for products that have been ordered.

Post by aimeos » 23 Jul 2020, 08:23

Use the mshop_order_base_service_attr table for the delivery service the customer has chosen.
There are several methods available for working with that items:
- https://github.com/aimeos/aimeos-core/b ... #L137-L177
- https://github.com/aimeos/aimeos-core/b ... /Iface.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply