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

Number of Products per page...

Started by dandownunder on 6 Jun 2006, 10:21 AM · Views: 23,965

Results 21 to 31 of 31
30 Jan 2011, 3:33 AM
#21
ajeh avatar

ajeh

Oba-san

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

Post #21 by ajeh

Go into the Configuration ... Product Listing ... and set to OFF:> Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)

Do you want to display the Add to Cart Button?

NOTE: Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product

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!

9 Aug 2011, 11:35 AM
#22
bonnit avatar

bonnit

Zen Follower

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

Post #22 by bonnit

hi, im using this code on my site, just wondering if you had some advice, its showing up on my sub category pages which is pretty unneccesary as i only have about 10 max on any main category. is there a way of turning this off for the subcat pages and only having it show on product listing pages?

EDIT: ignore me, i moved the code around a little and bodged it, i've fixed it now, sorry :)

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

9 Aug 2011, 12:45 PM
#23
bonnit avatar

bonnit

Zen Follower

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

Post #23 by bonnit

ok so after i got over my blonde moment (lol) i realised that i am unable to access my product types page in admin, its to do with the split_page_results.php mod listed above by limelites, not much of an sql guru myself so unsure what i can do?, i have listed a thread to address this if anyone can help, i dont really want to double post so ill leave the link and hope that someone may be able to give me a few seconds of their time, thanks in advance

http://www.zen-cart.com/forum/showthread.php?p=1054525

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

29 Nov 2011, 8:20 PM
#24
rikkouri avatar

rikkouri

New Zenner

Join Date:
Sep 2011
Posts:
5
Plugin Contributions:
0

Post #24 by rikkouri

Love the MOD! Just wanted to say thanks!

10 Apr 2012, 10:06 PM
#27
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Post #27 by lissae

johnybravo:

This is a great mod and easy to install. My items per page and select page number are on seperate lines. Does any know how I can put them on the same line?

http://www.curvesandcorsets.com/so-couture-dresses

Cheers,

John

Stylesheet, approx line 27 add to the declaration for FORM:

display: inline;

So that you have:

FORM {
display: inline;
margin: 0;
padding: 0;
}

That should do it for you hopefully :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

11 Apr 2012, 8:45 PM
#28
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Post #28 by johnybravo

Thanks LissaE, thats done the trick! I changed the padding to 30 to give it some spacing.
Thanks again,
john

11 Apr 2012, 8:49 PM
#29
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Post #29 by lissae

You're welcome :D

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

14 Mar 2014, 10:19 AM
#30
devyani avatar

devyani

Zen Follower

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

Post #30 by devyani

this a great addon! Worked like a charm on 1.5.1 too! :hug:

21 Aug 2014, 9:44 AM
#31
devyani avatar

devyani

Zen Follower

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

Post #31 by devyani

Hi,
I had this issue which got sorted after correction in the - /includes/classes/split_page_results.php file.
When I was clicking on these links :
http://bambino.co.in/index.php?main_page=products_new
http://bambino.co.in/index.php?main_page=products_all
http://bambino.co.in/index.php?main_page=specials
... etc

I was getting this error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) as total FROM zen_products p left join zen_manufacturers m on (p.manufacture' at line 1
in:
[select count(distinct *) as total FROM zen_products p left join zen_manufacturers m on (p.manufacturers_id = m.manufacturers_id) left join zen_products_to_categories p2c on p.products_id = p2c.products_id left join zen_products_description pd on p.products_id = pd.products_id WHERE p.products_status = 1 AND pd.language_id = 1 and p.products_date_added >=20140706]

After making the corrections (as suggested by Lat9; http://www.zen-cart.com/showthread.php?214187-1064-syntax-to-use-near-*%29-as-total-FROM-zen_products/page2) all was sorted.