Skip to content

Category Product List#


Description#

Load all products assigned to a specific category

Snippet#

<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code( 'category_code', l.settings:current_category )" />
<mvt:do name="l.result" file="g.Module_Library_DB" value="Runtime_ProductList_Load_Offset_Category( l.settings:current_category:id, g.Offset, 100, g.NextOffset, l.settings:products )" />

<mvt:foreach iterator="product" array="products">
    &mvt:product:code;<br>
</mvt:foreach>

Functions Used#

  • Category_Load_Code
  • Runtime_ProductList_Load_Offset_Category