Here be questions and here be answers.
The following code works for retrieving the count of items with a particular category association. But we're using a nested structure, and I need to retrieve the count of the parent collection as well as the children. Is there a quick solution for this besides iterating through all child collections and counting them?<v?=ceil(vae("store[category/name='<v=name>']")->totalMatches()) ?>
You'd need to iterate through these, unfortunately. The good news is I don't think it'd be that hard to do.
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership