Vendor for the basket product
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Vendor for the basket product
I'm using JSONAPI and tried to set the vendor as described in the add products documentation , but it doesn't work
I'm using aimeos 2022.10
In 2021.x I have used supplier ID for supplier key and it works fine.
Now in the code I didn't find that the vendor from the request is used, the label from the site object is always set
https://github.com/aimeos/aimeos-core/b ... d.php#L769
Is there a way to set the vendor name without customizing the copyFrom method? It seemed to me that this should work the same as with the supplier in previous versions.
I'm using aimeos 2022.10
In 2021.x I have used supplier ID for supplier key and it works fine.
Now in the code I didn't find that the vendor from the request is used, the label from the site object is always set
https://github.com/aimeos/aimeos-core/b ... d.php#L769
Is there a way to set the vendor name without customizing the copyFrom method? It seemed to me that this should work the same as with the supplier in previous versions.
Re: Vendor for the basket product
The basket parameters have been simplified a bit and the vendor parameter has been removed in favor of the siteid parameter. If you want to add the supplier name instead, you have to overwrite the copyFrom() method now.
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
Re: Vendor for the basket product
The documentation has been updated accordingly:
https://aimeos.org/docs/latest/frontend ... d-products
https://aimeos.org/docs/latest/frontend ... d-products
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