Answer the question
In order to leave comments, you need to log in
How to properly set up the catalog and products on MODX REVO?
Good day to all!
Required functionality:
We need a page with a list of product categories (picture and title). When you click on a specific category, a list of products will open (picture on the left, free-form description on the right).
Example of categories:
An example of a product in free form:
Used snippets:
1) Output of categories in the catalog, in a template with categories:
If using:
then the products are displayed immediately on the category page, although they should not be displayed. (plus I can't make them freeform)
And since I couldn't handle !pdoPage?, I decided to do it differently (in the same template, instead of !pdoPage? I inserted
[[pdoMenu?
&includeTVs=`imgForProduct, descriptionProductRus, descriptionProductEng `
&tplOuter=`@INLINE
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question