Awesome! Thanks Bruce. That did it.
One more question. I am using this code:
<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code(l.settings:readytheme:pr oductlisting:prod_cat, 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:assign name="g.productCount" value="miva_array_max(l.settings:products)"/>
So, if the category has more than 100 products, it shows only 100 products because of the number (100) in between the offsets. I know I can make this a higher number, but is there a way to not use the offsets?
Announcement
Collapse
No announcement yet.
total number of products in a readytheme category
Collapse
X
-
So, for: <mvt:foreach iterator="product" array="readytheme:products">Code:<mvt:assign name="g.productCount" value="miva_array_max(l.settings:name:of:array:being:used)"/> <p>Product Count: &mvt:global:productCount;</p>
You'd use
Code:<mvt:assign name="g.productCount" value="miva_array_max(l.settings:readytheme:products)"/>
- 1 like
Leave a comment:
-
total number of products in a readytheme category
Is there a way to show the total number of products in a readytheme category?
This only works on the actual category page:
l.settings:category_listing:total_prod_count &mvt:category_listing:total_prod_count;
I've tried revamping this but no luck.Tags: None
Leave a comment: