Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default 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
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  3. #3
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

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

    thanks Ajeh! I can remove it now

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    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!

 

 

Similar Threads

  1. How to hide quantity in the product listing?
    By prolog in forum Basic Configuration
    Replies: 16
    Last Post: 10 Aug 2010, 03:35 PM
  2. How do I remove the product listing from a page?
    By sartor in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 14 Jan 2009, 11:24 AM
  3. How to remove the back_tile image only from the product listing page
    By watzursn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Sep 2008, 05:42 AM
  4. How to Remove Minimum Quantity Text from Product Listing
    By mrmeech in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jun 2008, 03:13 AM
  5. How do you hide the maximum quantity from the product display? and....
    By kinget in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 May 2007, 12:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg