Results 1 to 10 of 740

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    63
    Plugin Contributions
    1

    Default Re: Auction Product Type

    I dont have 1.3.7 (and dont really want to dig it up) so I dont really have any way to determine if it will work.

    I did find the $1 minimum problem. I am working on some other stuff so I am not ready to publish a new package, but the code fix is easy if you want to just edit the file....

    BACKUP BACKUP!!!!



    ../includes/modules/pages/product_auction_info/header_php.php

    Replace this line (line #30)
    $auction_current_bid = ($auction_current_bid >= 1) ? $auction_current_bid : 1;


    with this:
    $auction_current_bid = ($auction_current_bid >= 0) ? $auction_current_bid : 0.01;

    notice the "0" and the penny - The logic says "IF the current auction bid is greater than or equal to 0 (which is actually silly, but anyway), then return the current bid. Otherwise, return a penny. This sets the minimum price of any bid (including a raise) to 1 cent. you can change it to ten cents if you want (replace 0.01 with 0.10).


    That will fix the $1 problem.

    The emails do indeed seem to work on my machine. I do get outbid notices. I think that the YOU WIN notice will only appear if someone views the auction page after the closing time. (hence the cron job comment earlier).

    I think that an initial bid email is never sent out. I will look into that (only winners, losers and outbids). I am also working on logging the emails which isnt happening even though there is a DB table for it.

    Anyway... as time allows.....


    Cheers!
    AHB

  2. #2
    Join Date
    Mar 2008
    Posts
    63
    Plugin Contributions
    1

    Default Re: Auction Product Type

    Upon further reflection (like 10 seconds worth) since there are only 2 files in the auction ZIP file that collide with the shipped ZEN versions, if you compare those 2 files line by line (or better - use a tool like WINDIFF to spot the changes), if the changes are ALL related to the auction code (which is in a block) then the auction code should drop on top OK. If not, you need to move the 1.3.8a auction related code into the same spot in the 1.3.7 code.

    That is the best I can do to help... sorry...

    AHB

  3. #3
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Auction Product Type

    I installed this mod on a test site I'm working on, it installed fine and seems to be working well thought I haven't placed bids or the like.

    How to actually make it work after that I have no idea so seen as it has been made for a diff use I'd love to extarct what I need out of it but I don't know which bits I'll need.

    I would assume that it would be easy enough for the maker of the mod to do a simple mod to add an expiry date to products and have the product disable once it expires.

    Thank you.

  4. #4
    Join Date
    Sep 2006
    Posts
    449
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Set up a category for Auctions. When you go to add a new product, make sure you have selected "product auction" from the drop down menu. Once you click on New product there is a place to set a start date and an ending date and even a ending time. Once the ending date is done, the product is no longer available.
    It's there, you just have to get in there and futz with it :)

    Have fun! Its a great mod :)

  5. #5
    Join Date
    Mar 2008
    Posts
    63
    Plugin Contributions
    1

    Default Re: Auction Product Type

    I just uploaded 0.97 It contains a published fix for mooncavecrystals request for 0.01 starting bid (down from 1.00)

    Also prints previous bidder's ID instead of first and last names.

    No other fixes or enhancements in here.

    No DB changes required

    ZC team is looking at the upload and once blessed they will place in download area.
    Last edited by bramnick; 23 Apr 2008 at 03:28 AM. Reason: grammar

  6. #6
    Join Date
    Sep 2006
    Posts
    449
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Hey B, the $0.01 thing was actually for Andy. I am the one that was having trouble getting the email to work when installing the new auction mod over the old one. Still having that issue but have no idea how to fix it. Any suggestions?

  7. #7
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Auction Product Type

    I deleted all the files related to this mod and restored the original files which were changed. I also deleted the db tables associated with this mod.

    However, the 2 products which I had set as an auction product can't be viewd in the catalog and can't be deleted even though they exist in the admin.

    How do I get rid of them and the admin>configuration>auction manager form my admin?

    Thank you.

  8. #8
    Join Date
    Mar 2008
    Posts
    63
    Plugin Contributions
    1

    Default Re: Auction Product Type

    Sorry MCC - I clearly was confused... I cant think of why the mods would break the 1.3.7 mail. I didnt do anything to that package that touched the email. My test system DOES generate emails for OUTBID at the time of the OUTBID. It generates a WIN and LOSE message when someone looks at the page after the expiration time (which is annoying). Mine does NOT generate email when you place an initial BID (which is also annoying).

    If I come across something, I will be sure to post it to you... I assume that a migration to the current code base isnt an easy option for you.

    AHB

  9. #9
    Join Date
    Mar 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Auction Product Type

    bramnick,
    can you recall what was changed to stop the bidders name from showing?
    I was thinking about the possibility of using the forum nick, and if the data could be pulled from that table instead...

    Quote Originally Posted by bramnick View Post
    I just uploaded 0.97 It contains a published fix for mooncavecrystals request for 0.01 starting bid (down from 1.00)

    Also prints previous bidder's ID instead of first and last names.

    No other fixes or enhancements in here.

    No DB changes required

    ZC team is looking at the upload and once blessed they will place in download area.

  10. #10
    Join Date
    Mar 2008
    Posts
    63
    Plugin Contributions
    1

    Default Re: Auction Product Type

    I would have to diff the source code for those 2 versions and see where it is. The change was small, it uses a different DB field is all.

 

 

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

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