Results 1 to 10 of 740

Threaded View

  1. #15
    Join Date
    May 2006
    Location
    Virginia U.S
    Posts
    173
    Plugin Contributions
    3

    Default Re: Auction Product Type

    I'd like to announce some modifications I've made to davewest's great script.
    I've added a "maximum bid allowed" feature to keep people from placing crazy bids like a billion dollars.
    You can make this any amount you choose inside the admin panel.

    Quote Originally Posted by davewest View Post
    It's already included in the last update....
    @davewest, I'm not sure what you did to the last update. The last version that is avaliable in the downloads area of zen-cart says "Last updated Dec 20 2010" and is version 1.2a.

    I saw no provision for limiting maximum bids allowed. However, I did see in an earlier post where you suggested...

    Quote Originally Posted by davewest
    That's a new one... never thought about a max amount, but with the two key words free-fun would get it going.... this is basically the opposite of the to low bid, but without an easy admin setting.

    in includes\modules\pages\product_auction_info\header_php.php add the lines in red in between the black code sections about line 125.
    Code:
    if ($auction_bid > 0 ) {
      if ($auction_bid < ($auction_bid_minimum_increase + $auction_current_bid)) {
        $error = true;
        $messageStack->add('place_bid', ENTRY_BID_TOO_LOW, 'error');
      }
     
    if ($auction_bid >= ($auction_bid_minimum_increase + $auction_current_bid) + 200) {
        $error = true;
        $messageStack->add('place_bid', 'To High - Try Again!', 'error');
      }
      
      if ($error == false) {
    This works by checking if the bid is 200 over the current bid plus the minimum increase.. change the 200 to something higher or lower for what you want....

    The edited page if you wish to just replace it... header_php.zip

    I'll have to add this to the next update...
    I've made modifications to the script and added a Maximum bid allowed feature to the admin based on your "minimum bid allowed" feature. I think you'll find my changes helpful and worthy of a submission to the free software add ons section of zen-cart.

    Thanks again for the great script. I can't attach it to this forum because its too big I'll have to submit it for approval.
    Last edited by beasleybub; 7 Mar 2011 at 09:57 AM.
    How can there be nothing? Nothing is something!

 

 

Similar Threads

  1. Auction Product type
    By Andreas1211 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Aug 2014, 02:13 PM
  2. Auction Product Type: Can't add a product of the type.
    By sw0rdz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Sep 2009, 02:11 AM
  3. Auction Product Type
    By chinthana in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jun 2009, 10:33 AM
  4. Auction Mod. Product Type
    By wilt in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 15 Feb 2007, 07:35 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR