I am trying to display the total number of results found in a loop (there should be 2).
I tried this and it just returned ‘1’
<Loop type=inventory field=inventoryitem_status field_value="In Stock">
</Loop>
<Get loop=total />
I then tried this, and allow if gave the correct total it showed it for the same number of results in loop (so twice in my example)
<Loop type=inventory field=inventoryitem_status field_value="In Stock">
<Get loop=total />
</Loop>
It’s probably really obvious what I am doing wrong - but any guidance would be great.
Thanks