Forums / All Other Contributions/Addons / Set number of products displayed per page (support thread)

Set number of products displayed per page (support thread)

Views: 37,000

Results 41 to 60 of 148
25 Nov 2010, 12:47 PM
#41
kiddieshop avatar

kiddieshop

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Set number of products displayed per page (support thread)

Does anybody have any ideas about this one?

All I want to do is hide the image that is dispalying that is not relevant.

i.e.
if six products are displayed - show the "display all products" image only
if all products displayed - show the "display 6 products" image only

25 Nov 2010, 2:55 PM
#42
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Set number of products displayed per page (support thread)

I am not familiar with this code, but something that stands out is that you are using:

elseif($step = 'All') {

what happens if you change that to:

elseif($step == 'All') {

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Nov 2010, 6:16 AM
#43
turtleo4 avatar

turtleo4

New Zenner

Join Date:
Nov 2010
Location:
Los Angeles, Ca
Posts:
5
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

kid,

Could you please copy and paste your product_listing.php up here so i can compare please.

Thanks

14 Jan 2011, 4:39 AM
#44
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

gueston:

what happend it can't work after i install this function

the "SQL Query Executor" page display below :" Failed: 1
ERROR: Cannot insert configuration_key "PRODUCT_LISTING_MAX_DISPLAY_STEPS" because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
"
when i send the "new_install"

(sure i install it as readme.txt)

I'm getting the same message. I know the admin panel is working because i changed the display values and the same values are being reflected in the developers toolkit. In all the links aren't showing up but I don't know why. Does anybody have an answer?

24 Feb 2011, 12:14 AM
#45
brooklynartist avatar

brooklynartist

New Zenner

Join Date:
Jan 2011
Location:
Brooklyn
Posts:
75
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Just adding my voice to the mob..

This would be even more awesome if it could be displayed in a dropdown! I've got it installed and will use it as is for now, though. It's a great feature!

I wish I was a programmer. :cool:

25 Mar 2011, 1:15 AM
#46
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Here's what I don't understand, maybe someone can help me out. I installed column_grid_layout because I don't want the products to display one item per row. But in the instructions it says that in order for the values to calculate correctly the number of columns per row has to be 1. Am I missing something or do I really have to display one item per row for this to work?

Another thing is that the links aren't altering the number of items per page. Any help

26 Apr 2011, 3:10 PM
#47
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

novastar:

Here's what I don't understand, maybe someone can help me out. I installed column_grid_layout because I don't want the products to display one item per row. But in the instructions it says that in order for the values to calculate correctly the number of columns per row has to be 1. Am I missing something or do I really have to display one item per row for this to work?

You would set it to 1 only if you have the row option selected. If you have the column option selected, then you can set it to what ever you want it to be per row.

https://www.jhelectronics.com
Using Zencart 1.3.9h

9 Aug 2011, 9:51 AM
#48
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

does anyone have any instructions on how to remove this please? i tried reversing the installation but i lose my product display entirely?

http://www.mods.livvylougifts.co.uk Zen Cart Mod Site
http://www.livvylougifts.co.uk Personalised gifts for every occasion

9 Aug 2011, 9:59 AM
#49
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

ah its ok i was being a wally!!! i forgot to reverse the product listing template as well lol

http://www.mods.livvylougifts.co.uk Zen Cart Mod Site
http://www.livvylougifts.co.uk Personalised gifts for every occasion

9 Oct 2011, 7:27 PM
#50
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

great mod, thanks a mil.

10 Nov 2011, 3:58 PM
#51
webstar59 avatar

webstar59

New Zenner

Join Date:
Jun 2011
Location:
California
Posts:
63
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

I wanted to install the mod http://www.zen-cart.com/index.php?ma...roducts_id=716
Will this work on Zen 1.3.9h?

I ask this because the requirements to insall this
mod says you need Column Layout Grid for Product Listing
installed first, that mod is for Zen 1.3.8 is this going to
run on Zen 1.3.9h?

11 Nov 2011, 12:43 AM
#52
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set number of products displayed per page (support thread)

Yes, Column Grid works on v1.3.9h. There is a minor change to product_listing.php, but it will not affect function or version compatibility.

29 Nov 2011, 7:39 PM
#53
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

thanks for the mod, but wondering if anyone can help me...

The numbers for products per page are showing up wrong... I have "10,15,20,All" but it is showing up as "12 15 21 All".

It says in the readme about changing the Layout Style is set to rows or something but it's not that clear and I don't quite understand.

I have the following settings...

Product Listing - Layout Style columns
Product Listing - Columns Per Row 3

Thanks in advance

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

29 Nov 2011, 8:18 PM
#54
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Hi howb,

yeh I had that too, you need to make you settings divisible by 3 as you have 3 columns, I use the following 15,30,45,All and it works fine.
good luck

29 Nov 2011, 9:12 PM
#55
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Thanks jagall,

I'll go with that for now.. but I have seen other sites with 3 column layouts with 10,15,20 and so on... such as this site

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

1 Feb 2012, 2:03 PM
#56
terrill_taylor avatar

terrill_taylor

New Zenner

Join Date:
Aug 2006
Posts:
96
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Has anyone added this mod to the "new listings" page? The instructions say it possible... I really just want to add an "all" link to my new products listing. Any guidance would be much appreciated.

ZC version 1.3.9h.

28 Feb 2012, 11:08 AM
#57
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Hi Terrill_Taylor,

yes, it is possible. I was able to do it by installing the Single Listing Template. This mod only works if you have column layout grid installed. But it essentially makes your Specials, New Products, Featured Products & All Products the same as your Product Listing

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

7 Mar 2012, 7:57 PM
#58
apogeerockets avatar

apogeerockets

Zen Follower

Join Date:
Aug 2011
Posts:
104
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

i'm noticing that with an SEO URI module installed, this module doesn't work. I've changed the "&" in set_num_products.php to a "?" That fixed that problem, but i'm having issues with the module working at all (with or without SEO) - using 1.3.9h. I'll be going through all the installation again to make sure i got everything, but the max_display doesn't seem to be registering and $max_results is not coming up as defined.

7 Mar 2012, 8:05 PM
#59
apogeerockets avatar

apogeerockets

Zen Follower

Join Date:
Aug 2011
Posts:
104
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

apogeerockets:

I'll be going through all the installation again to make sure i got everything, but the max_display doesn't seem to be registering and $max_results is not coming up as defined.

of course, turns out i, for some reason, had made an override of products_listing.php (who knows why....), but it's defining now. next, i'll work on getting a dropdown to work.

14 Mar 2012, 7:16 PM
#60
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Re: Set number of products displayed per page (support thread)

Alrighty then... I got this figured out and working. Now besides making it a drop down (still wanted) how can I make this text display in bold, a different color and spaced away from the "Displaying X to XX (of XX products"? I assume it is in the CSS somewhere.

www.simpsoncycles.com

www.theCableStation.com
"If we restrict liberty to attain security we will lose them both."