Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Nov 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Remove buy now button/more info and max:1

    I'm in the same boat, I have only one of a kind hand made items for sale, so i want to get rid of the "Max:1" text.
    I've used the code below to remove it from the product_listing.php page but it still shows Max: 1 on two other pages /index.php?main_page=products_all and /index.php?main_page=products_new

    Anything ive tried just breaks the pages

    Thanks in advance

  2. #12
    Join Date
    Sep 2008
    Posts
    53
    Plugin Contributions
    0

    Default Re: Remove buy now button/more info and max:1

    Quote Originally Posted by eddyboy View Post
    I'm in the same boat, I have only one of a kind hand made items for sale, so i want to get rid of the "Max:1" text.
    I've used the code below to remove it from the product_listing.php page but it still shows Max: 1 on two other pages /index.php?main_page=products_all and /index.php?main_page=products_new

    Anything ive tried just breaks the pages

    Thanks in advance
    What I did was search the Zencart folder for the term

    PHP Code:
    zen_get_products_quantity_min_units_display 
    Thats what triggers the max1 thing. I just removed the break tag, and then the statements involving the max1 from

    tpl_modules_new_produdcts_new_listing.php
    tpl_modules_new_produdcts_featured_listing.php

    in the templates_default/templates folder.

  3. #13
    Join Date
    Oct 2010
    Location
    Idaho
    Posts
    292
    Plugin Contributions
    0

    Default Re: Remove buy now button/more info and max:1

    I got rid of 'max: 1' -- w/o hacking any core files -- by using the following settings when listing products. There will be one product for sale, but 'max: 1' will not appear on product listings or on product info pages.

    * No, Do not show Quantity Box

    Product Qty Minimum: 1
    Product Qty Maximum: 0 (or blank)
    Product Qty Units: 1

    Products Quantity: 1

  4. #14
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Remove buy now button/more info and max:1

    thank you very much, finlander this vicious stuff was getting on my nerves .

  5. #15
    Join Date
    Oct 2010
    Location
    Idaho
    Posts
    292
    Plugin Contributions
    0

    Default Re: Remove buy now button/more info and max:1

    Glad it helped, but I need to update my earlier response. I had to stop using my own advice because it caused a different problem.

    Yes, you can make it not show by setting Max Qty (which means Max Qty purchasable) to 0 or blank when you list or edit the Product's details, but then, a shopper can add the same item to the cart repeatedly, and get error or warning message repeatedly after the product is added once to the cart. Zen Cart is built that way by design -- you may allow people to put an item in the cart 5 times even though you only have one of the product for sale, because you might be willing accept payment for the other 4 items also, and then deliver those items to the buyer at a later time. There is a setting in Admin for which type of behavior Zen Cart will perform in this situation -- either tell the buyer about out-of-stock items being put on back order, or not allowing the buyer to checkout until the cart only contains in-stock items.

    Anyway, I didn't want buyers to get a confusing error/warning message if they tried to Add the item more than once, so I put Max 1 back on my items. I do want to try hacking some code to remove it, though, as discussed earlier in this thread.

    Jim

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Adding a more info button alongside buy now button
    By jwburnside in forum General Questions
    Replies: 5
    Last Post: 6 Nov 2010, 01:36 PM
  2. Product Listing - Buy Now and ...more info?
    By JosephKola in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Jul 2009, 08:29 PM
  3. Add More Info Button after Buy Now on category listing
    By gothstone in forum General Questions
    Replies: 46
    Last Post: 22 Jan 2009, 09:52 PM
  4. Change Buy Now Button to More Info on Product Listing Page
    By prosam in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2008, 02:21 PM
  5. More Info Link and Buy Now Button
    By Toot4fun in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Dec 2007, 05:57 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