Why the product attributes doesn't appear in the attribute template

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!
User avatar
ahmed31916
Advanced
Posts: 148
Joined: 14 Apr 2022, 12:15

Why the product attributes doesn't appear in the attribute template

Post by ahmed31916 » 04 Oct 2022, 04:15

Hello Aimeos,

Why the product attributes doesn't appear in the "packages\theme1\templates\client\html\common\partials\attribute.php" template, although the product has lots of attributes?

Another question:
How to add more domains for the "packages\theme1\templates\client\html\common\partials\products.php" template?

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

Re: Why the product attributes doesn't appear in the attribute template

Post by aimeos » 05 Oct 2022, 11:19

ahmed31916 wrote: 04 Oct 2022, 04:15 Why the product attributes doesn't appear in the "packages\theme1\templates\client\html\common\partials\attribute.php" template, although the product has lots of attributes?
Depends on where you are. In the catalog list view, attributes are not loaded by default and only if you configure the domains or "basket-add" setting. In the catalog detail view, they are always available.
ahmed31916 wrote: 04 Oct 2022, 04:15 How to add more domains for the "packages\theme1\templates\client\html\common\partials\products.php" template?
For the catalog list view, you can use this setting:
https://aimeos.org/docs/2022.x/config/c ... s/#domains

There are more settings available ending with "domains" for different HTML client components.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply