Multiple Warehouses

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!
Doveman
Posts: 23
Joined: 06 Nov 2017, 20:59

Multiple Warehouses

Post by Doveman » 17 Nov 2017, 15:21

The user docs indicate that I can setup multiple warehouses but I can't find any info on that in the developer docs. Does the siteid field have anything to do with this? If not what is the purpose of siteid? Is there some special config entries that need to be made?
The user doc that talks about this is at:
https://aimeos.org/docs/User_Manual/Adm ... ct_details
Specifically it is under the heading Stock Levels. My edit screens do not match this documentation.

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

Re: Multiple Warehouses

Post by aimeos » 18 Nov 2017, 11:22

The site ID is for multi-tenancy, e.g. if you want to offer different shops, shops for different vendors, complex B2B scenarios, market places or reseller structures.

If you add a new stock type (JQAdm interface, Types -> Stock type), you will see that you can add more than one stock level for a product in the product detail view of the admin interface. In the frontend, you have to add a selector where the user can choose the pickup point and you have to pass that value as "b_stocktype" to the basket:
https://github.com/aimeos/ai-client-htm ... d.php#L482

You can add the selector here in the catalog detail view:
https://github.com/aimeos/ai-client-htm ... t.php#L260
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply