Unable to add new attribute type.

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!
brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Unable to add new attribute type.

Post by brfcsdotcom » 23 Apr 2025, 08:05

I'm trying to add a new attribute type "Size" for our new store, and when I click the "+" icon I get an error:

Code: Select all

Class "\Aimeos\Admin\JQAdm\Type\Attribute\Standard" not found
I'm on the latest Laravel version, 2025.04.1 according to Composer. I just did an update this morning to get the latest. I've cleared the cache and dumped the autoloader and still get the same error.

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

Re: Unable to add new attribute type.

Post by aimeos » 23 Apr 2025, 08:39

Unfortunately, we are not able to reproduce the issue. Can you please create a screen cast or post the full stack trace of the exception?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Re: Unable to add new attribute type.

Post by brfcsdotcom » 23 Apr 2025, 09:53

I've recorded a quick Loom video showing what I'm trying to do:

https://www.loom.com/share/09666ec70116 ... 013cb87b0b

brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Re: Unable to add new attribute type.

Post by brfcsdotcom » 23 Apr 2025, 09:57

If I go to the Types section of admin, there is a product type for size already (I did think it was an odd thing to be missing)

Feels like I'm trying to add the sizes the wrong way?
Attachments
size_type.png
size_type.png (150.21 KiB) Viewed 21431 times

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

Re: Unable to add new attribute type.

Post by aimeos » 23 Apr 2025, 10:18

The link in the admin item panel was wrong because all type panels have been merged into one in the latest version. The problem is fixed now and you can test yourself after executing:

Code: Select all

composer req aimeos/ai-admin-jqadm:2025.04.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Re: Unable to add new attribute type.

Post by brfcsdotcom » 25 Apr 2025, 06:38

Thank you, I don't get that error any more.

However, when I go to add the attributes, there is already a product type for Size, but it doesn't show up in the list of options when creating attributes to assign to the variants
Attachments
Screenshot 2025-04-24 at 22.21.36.png
Screenshot 2025-04-24 at 22.21.36.png (14.8 KiB) Viewed 21333 times
Screenshot 2025-04-24 at 22.21.18.png
Screenshot 2025-04-24 at 22.21.18.png (45.94 KiB) Viewed 21333 times

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

Re: Unable to add new attribute type.

Post by aimeos » 25 Apr 2025, 06:54

A product type "size" makes no sense (there are "default", "select", "group", "event", "voucher"). What you need is a type for the domain "attribute"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Re: Unable to add new attribute type.

Post by brfcsdotcom » 27 Apr 2025, 19:39

I'm obviously missing something, size is listed on the Type settings page as a type in the product domain, but when I try to go and add an attribute in the product domain, it's not listed as something I can add.
Attachments
Screenshot 2025-04-27 at 20.33.42.png
Screenshot 2025-04-27 at 20.33.42.png (200.95 KiB) Viewed 20954 times
Screenshot 2025-04-27 at 20.22.23.jpg
Screenshot 2025-04-27 at 20.22.23.jpg (224.69 KiB) Viewed 20954 times

brfcsdotcom
Posts: 6
Joined: 23 Apr 2025, 07:53

Re: Unable to add new attribute type.

Post by brfcsdotcom » 27 Apr 2025, 20:10

If I look at one of the demo attributes that does appear in the drop down list, they don't have a type?
Attachments
Screenshot 2025-04-27 at 21.08.19.png
Screenshot 2025-04-27 at 21.08.19.png (135.91 KiB) Viewed 20951 times

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

Re: Unable to add new attribute type.

Post by aimeos » 28 Apr 2025, 06:22

They have the type "attribute" and this is what you need to select, not "product"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply