Hello,
I’m working a on project that contains loads of different products. The client would like a section for new products which would be limited to the most recent 27 products (9 products per page, over 3 pages).
This seems like it would be very simple, but I can’t figure out how to limit the total results to 27 or to only return 3 pages of results. It seems like it is all or nothing. Here is the current code I’m working with:
[[!getPage@NewProducts?
&element=`getResources`
&parents=`3`
&where=`{"template:=":3}`
&tpl=`tmpProductListing`
&includeTVs=`8,26`
&processTVs=`8,26`
&tvPrefix=`tv.`
&limit=`9`
&pageNavVar=`page.nav`
&sortby=`{"publishedon":"ASC"}`
]]
Any advice? Thanks,
Chris