Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Remove Max Quantity from Product Listing

Remove Max Quantity from Product Listing

Locked

Views: 3,122

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
29 Nov 2009, 12:15 PM
#1
dab avatar

dab

New Zenner

Join Date:
Jan 2007
Location:
UK
Posts:
62
Plugin Contributions:
0

Remove Max Quantity from Product Listing

I have ZC 1.3.7 and am trying a workaround to a problem we have on our site, ie athough we only have 1 of a particular item in stock, a customer can order more if they select different options on each (in our case engraving).
The only way we can see to get around this is to set "Product Qty Maximum:" to 1 in the item details. This is messy, but does work.
The problem we now have is that on the product listing it now displays "Max: 1" under the price - is there any way to remove this.

29 Nov 2009, 4:31 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

If you discover the DIV ID of that component, then you can invoke a "display:none;" stylesheet declaration for it.

This leaves the functionality of the feature intact, but it renders the result invisible in the browser.

1 Dec 2009, 8:21 PM
#3
Join Date:
Aug 2009
Posts:
7
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

pretty sure this css suggestion will not work. you can see in the screen cap below, that the max qty and add qty and price are all the same style in my template.

the max quantity has to be addressed somewhere in the code of the store. I will do a little more digging and report my findings here as I am also having the same issue.

1 Dec 2009, 8:31 PM
#4
Join Date:
Aug 2009
Posts:
7
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

1 Dec 2009, 9:02 PM
#5
dab avatar

dab

New Zenner

Join Date:
Jan 2007
Location:
UK
Posts:
62
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

Thanks for the suggestion Schoolboy, but the DIV ID is listingDescription and does seem to include the price and the Max:1

I have done some more digging and found this thread (post 8) which seems to offer a solution: http://www.zen-cart.com/forum/showthread.php?t=87638&highlight=zen_get_products_quantity_min_units_display

I will have a look at editing the file and see how it goes.

1 Dec 2009, 10:07 PM
#6
dab avatar

dab

New Zenner

Join Date:
Jan 2007
Location:
UK
Posts:
62
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

Seems to have done the trick :clap:

1 Dec 2009, 11:41 PM
#7
Join Date:
Aug 2009
Posts:
7
Plugin Contributions:
0

Re: Remove Max Quantity from Product Listing

worked for me too... the min instead of max was throwing me off the right trail