Page 1 of 1

Rendering product attirubutes on the product list board

Posted: 17 Jan 2016, 10:19
by abcdomino
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

Re: Rendering product attirubutes on the product list board

Posted: 17 Jan 2016, 11:43
by aimeos
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'] );