Forums / General Questions / How to remove the Maximum Quantity in Product Listing?

How to remove the Maximum Quantity in Product Listing?

Locked

Views: 2,062

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Aug 2009, 3:43 PM
#1
jimotman avatar

jimotman

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

How to remove the Maximum Quantity in Product Listing?

Hi, I'm trying to setup zencart as a downloadable products store. So, for each product I set:

  • Product Qty Minimum: 1
  • Product Qty Maximum: 1 -> I don't want customers to have more than 1 quantity for downloadable products
    Product Qty Units: 1

Now, my problem is, in the product listing, the Product Qty Maximum appears right below the "buy now" button (please take a look at the screenshot attached).

How do I remove that "Max: 1" text?

Thanks

16 Aug 2009, 4:11 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: How to remove the Maximum Quantity in Product Listing?

That is built in the function zen_get_products_quantity_min_units_display ...

You could alter that function to just return a "blank", rather than the text that it builds ...

The function is in the:
/includes/functions/functions_prices.php

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!

16 Aug 2009, 5:13 PM
#3
jimotman avatar

jimotman

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: How to remove the Maximum Quantity in Product Listing?

thanks Ajeh! I can remove it now :D

16 Aug 2009, 5:28 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: How to remove the Maximum Quantity in Product Listing?

Thanks for the update that this was able to remove the Max:, Min: and Units:, based on the Minimum, Maximum and Units settings of the product, next to the Add to Cart, Buy Now and quantity input boxes ... :smile:

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!