Adding multiple categories to products.
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!
Adding multiple categories to products.
Laravel: 10.15
PHP: 8.2.4
Aimeos: 2023.07
When I want to add multiple categories to the products, I select the categories and save them(1), but only the last one I selected is saved(2). Also when I want to delete one of the selected categories, I click the button next to the category(3) but it always deletes the last category(4). I have the same problem with suppliers. How can I fix this? Thank you.
PHP: 8.2.4
Aimeos: 2023.07
When I want to add multiple categories to the products, I select the categories and save them(1), but only the last one I selected is saved(2). Also when I want to delete one of the selected categories, I click the button next to the category(3) but it always deletes the last category(4). I have the same problem with suppliers. How can I fix this? Thank you.
Re: Adding multiple categories to products.
We can see that behavior in the demo setup too and it may be related to the VueJS code. We will investigate and try to find a solution as soon as possible.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Adding multiple categories to products.
Fixed the problem of adding new categories/suppliers and a new release of the aimeos/ai-admin-jqadm package (2023.07.4) is available now. Run "composer up" to install that package.
Regarding removal of existing categories/suppliers, this is a visual problem only because the categories/suppliers you want to remove are actually deleted. Only the label in the drop-down is wrong until you save. This seems to be a problem of the combobox implementation and we will get rid of that by switching to another VueJS component (already in progress).
Regarding removal of existing categories/suppliers, this is a visual problem only because the categories/suppliers you want to remove are actually deleted. Only the label in the drop-down is wrong until you save. This seems to be a problem of the combobox implementation and we will get rid of that by switching to another VueJS component (already in progress).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Adding multiple categories to products.
Thank you very much.
Re: Adding multiple categories to products.
The VueJS components for selecting categories, suppliers and products have been replaced now and the problem when removing items is gone now. Can you check after executing this command?
Code: Select all
composer req aimeos/ai-admin-jqadm:2023.07.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Adding multiple categories to products.
It's fixed. Thanks again.