If this is your first visit, check our documentation. To post, register or login.

Number of Products in a Category

Locked

Started by butalezi_brown on 3 Dec 2008, 8:24 PM · Views: 700

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
3 Dec 2008, 8:24 PM
#1
butalezi_brown avatar

butalezi_brown

New Zenner

Join Date:
May 2007
Posts:
16
Plugin Contributions:
0

Post #1 by butalezi_brown

Hi,

I am trying to figure out how Zen Cart calculates the number of products in a category. My friend is writing a custom script for me, and he will need this information to help generate my new layout.

I know that Zen Cart calculates this information, because the default cart has will say something to the effect of
"Displaying X to Y (of Z products)"

I need to figure out how to reference to the number (Z) of products.

I do not know PHP vey well, but does any know what this PHP "string" or "variable" is called? Or how to get Zen Cart to calculate that number?

Thank you very much,

Alex