K
K
kryamk2020-10-02 20:22:37
MODX
kryamk, 2020-10-02 20:22:37

How to get product brands on Modx?

The page displays products from the bags category. Items may have different brands. How can I display a list of brands that are presented on this page? Brands are added with the help of the Additional field (TV): brand
It's my fault, I'm a noob myself both in modex and on the web, but I've been fighting for the third day, help pliz. There are no modx specialists at work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2020-10-03
@DanArst

How are items added? Through minishop2?
If all products have the same parent, then you can use pdoResources, for example:


Where instead of:
  • 2 - specify the ID of the parent product resource (catalog)
  • brands_tpl - specify the name of the chunk for output, or do it inline
  • brandname - specify the TV brand name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question