Adding multiple categories to products.

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!
ckursun
Posts: 3
Joined: 24 Jul 2023, 12:33

Adding multiple categories to products.

Post by ckursun » 26 Jul 2023, 11:54

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.

1
1
Screenshot_1.jpg (96.55 KiB) Viewed 12682 times
2
2
Screenshot_2.jpg (81.09 KiB) Viewed 12682 times
3
3
Screenshot_3.jpg (110.59 KiB) Viewed 12682 times
4
4
Screenshot_4.jpg (94.18 KiB) Viewed 12682 times

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

Re: Adding multiple categories to products.

Post by aimeos » 27 Jul 2023, 06:23

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, Image give us a star

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

Re: Adding multiple categories to products.

Post by aimeos » 27 Jul 2023, 07:10

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).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

ckursun
Posts: 3
Joined: 24 Jul 2023, 12:33

Re: Adding multiple categories to products.

Post by ckursun » 27 Jul 2023, 11:28

Thank you very much.

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

Re: Adding multiple categories to products.

Post by aimeos » 29 Jul 2023, 12:55

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, Image give us a star

ckursun
Posts: 3
Joined: 24 Jul 2023, 12:33

Re: Adding multiple categories to products.

Post by ckursun » 31 Jul 2023, 13:05

It's fixed. Thanks again.

Post Reply