Results 1 to 1 of 1

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

    Default Number of Products in a Category

    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
    Last edited by Butalezi Brown; 3 Dec 2008 at 09:29 PM.

 

 

Similar Threads

  1. Removing the number of products in a category
    By red_hatorade in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 5 Oct 2009, 10:22 PM
  2. (number) next to category products?
    By MagicMan in forum General Questions
    Replies: 2
    Last Post: 15 Mar 2009, 01:42 PM
  3. Number of products by category link
    By kaitshel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Dec 2008, 05:53 PM
  4. Number of products under category (?)
    By Ragenther in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 25 Nov 2008, 04:21 PM
  5. Number of products insdie a category!
    By kasnah36 in forum General Questions
    Replies: 2
    Last Post: 6 Jul 2007, 06:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg