Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Contribution-Writing Guidelines / How to count additional images?

How to count additional images?

Started by retched on 10 Jun 2011, 5:09 PM · Views: 2,064

Results 1 to 1 of 1
10 Jun 2011, 5:09 PM
#1
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

How to count additional images?

I'm trying to make a template that shows you how many additional images are available for a given product. Is there a way to count the additional images available for a given product dynamically? I've tried to reorder my code so that the call to the module/additional_images.php is first but I still end up with a 0 or some other number that doesn't represent it.