Multiple Warehouses
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Multiple Warehouses
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.
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.
Re: Multiple Warehouses
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
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, give us a star
If you like Aimeos, give us a star