Rendering product attirubutes on the product list board

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
abcdomino
Posts: 15
Joined: 28 Dec 2015, 22:58

Rendering product attirubutes on the product list board

Post by abcdomino » 17 Jan 2016, 10:19

Dear gentleman,

please advice what command should I add to the templates (catalog/list/items-body-default.html , catalog/detail/basic-body-default.html ) to render some product attributes? Please help

Best regards,
Dominik

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

Re: Rendering product attirubutes on the product list board

Post by aimeos » 17 Jan 2016, 11:43

abcdomino wrote:please advice what command should I add to the templates (catalog/list/items-body-default.html , catalog/detail/basic-body-default.html ) to render some product attributes?
You need to make sure the product attributes are fetched from the database:
https://aimeos.org/docs/Configuration/C ... st/domains

Then, the product items in the templates contain the attributes which can be fetched with

Code: Select all

$product->getRefItrems( 'attribute' [, 'attr type'] [, 'list type'] );
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply