I
I
igorsrt2018-09-11 15:17:42
MODX
igorsrt, 2018-09-11 15:17:42

MODX Minishop2 how to get 6 items from each category?

Hello!
I want to display on the main page a filter of products by category. I use this code:


 
 

 
<div class="index-products products span3" id="catalog">
            <ul class="simple-filter">
                
            </ul>
</div>

If in "!msProducts?" I leave &limit=`0` - then all products are displayed (and this is a lot), if I set &limit=`0` - then only 6 products (which is also bad) ...
How to achieve that! msProducts? received exactly 6 items from each category? Perhaps you need to put some additional parameter in the sample?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question