Zen Cart Logo
Forums / All Other Contributions/Addons / Number of items per page

Number of items per page

Locked

Views: 812

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Jan 2009, 8:30 PM
#1
helmetdecals avatar

helmetdecals

New Zenner

Join Date:
Jan 2009
Posts:
26
Plugin Contributions:
0

Number of items per page

I tried the Number of items per page mod and it asks me to modify a PHP file that does not exist...includes/modules/YOUR_TEMPLATE/product_listing.php
Ther is no template folder in modules.
Is there another way to tell the product listings to have x amount of items per page?
I am running the latest version of Zen Cart
Thanks
Jack

13 Jan 2009, 9:03 PM
#2
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Number of items per page

YOUR_TEMPLATE is the template name you are using for the folder structure, example if you are using the default template then YOUR_TEMPLATE would be named "classic", if you have build your own template then it would be the name you named that template and the folders that store it.

pete

13 Jan 2009, 9:04 PM
#3
helmetdecals avatar

helmetdecals

New Zenner

Join Date:
Jan 2009
Posts:
26
Plugin Contributions:
0

Re: Number of items per page

that much I understand...but there is NO folders with ANY templates located there.

13 Jan 2009, 9:18 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Number of items per page

There is a 'Classic' folder in includes/modules - you would have to add the folder for your template,and copy the product_listing.php file to that from includes/modules and edit that copy.

13 Jan 2009, 9:33 PM
#5
helmetdecals avatar

helmetdecals

New Zenner

Join Date:
Jan 2009
Posts:
26
Plugin Contributions:
0

Re: Number of items per page

which PHP file do I put in the folder? It says product_listing.php but where do I get this file?

13 Jan 2009, 9:38 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Number of items per page

stevesh:

There is a 'Classic' folder in includes/modules - you would have to add the folder for your template,and copy the product_listing.php file to that from includes/modules and edit that copy.

All files come originally from the default folders.

13 Jan 2009, 10:19 PM
#7
helmetdecals avatar

helmetdecals

New Zenner

Join Date:
Jan 2009
Posts:
26
Plugin Contributions:
0

Re: Number of items per page

Thanks for the help...I think I got it.
You wouldn't happen to know how to put the number of items per page selections in a drop down would you?
THanks again
Jack