Rendering product attirubutes on the product list board

Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
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: 3097
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