Forums / All Other Contributions/Addons / Auction Product Type

Auction Product Type

Views: 177,416

Results 61 to 80 of 740
18 Apr 2008, 2:29 PM
#61
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Auction Product Type

It is available for download now... Upgrading from previous is an interesting conversation. I didnt really consider that since the previous one didnt work on 1.3.8a...

I know that it installs on top of 1.3.8a. So if you are presently running 1.3.8a you SHOULD be fine. The install.txt file lists the 2 modules that are changed from the base 1.3.8a. If you didnt install any custom code, or any other downloads that replace those 2 modules, this should drop on top just fine (backup backup backup). You should DIFF the code just to be comfortable that there are no other difference afoot.

As far as the DB is concerned, I added 1 new field to 1 table.

To change the DB from the 1.3.7 version (0.95) to the one I packaged in 0.96
You need to do this sql AFTER YOU BACKUP..... TRY THIS ON A TEST DATABASE FIRST!!!!!

ALTER TABLE product_auction_extra ADD bid_minimum_increase DECIMAL( 10, 2 ) NOT NULL DEFAULT '0';

Cheers!

18 Apr 2008, 5:24 PM
#62
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Auction Product Type

I downloaded the new mod and installed in into my wholesale site which is not active yet. Everything appears to be ok cept the email. I kept it on the default PHP selection (configuration/email options) but I get this message:

ERROR: Failed sending email to: " " <> with subject: "Your Auction Bid - Mooncave Crystals" Could not instantiate mail function. Please check Admin->Configuration->Email Options->Email Transport.

I tried changing it to the "sendmail" option and did not get the error message, but also did not receive an email :) Any suggestions?

thanks! this mod is looking great!! (it would help if I actually knew what I was doing....LOL)

:clap:

18 Apr 2008, 6:22 PM
#63
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

I'm gonna have to get this latest, and see.
I also changed to sendmail to solve that error then only got an "end of auction winning bid notice"
guess cloning the action is one way of re doing it and will work for now, other problem I had was I wanted to be able to start at a lower amount than $1.00, like a penny auction
Bramnick
what is it set at for increments?

I added a Minimum Bid Increase (so you cant just raise by 1 penny).
I inhibited the ability for someone to bid against themself.

18 Apr 2008, 7:34 PM
#64
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Auction Product Type

yeah, my only question would be: If I change the email option to "sendmail" will that affect the other emails like the welcome letter, order confirmations, etc?

19 Apr 2008, 2:30 PM
#65
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

well on the test site, welcome letters worked, as fas as confirmations, I didnt test it as its not setup as a production site where I can buy something.
I would assume ( yea I know, never assume) that they would also work :mellow:

19 Apr 2008, 8:06 PM
#66
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Auction Product Type

I did a clean install of zencart for my wholesale site and a clean install of the auction mod. Everything appears to be functioning wonderfully.

On my retail site, i had the old auction mod installed with a few code adjustments due to the email not working, etc. I installed the new auction mod over the old (since i had no ideas what files to remove without screwing things up). It all appears to work EXCEPT for the email, even though I changed the email option over to sendmail as well.

I have no idea where to look to find out why this is happening. Any suggestions?
Thanks!

22 Apr 2008, 12:54 AM
#67
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

AndyII:

I'm gonna have to get this latest, and see.
I also changed to sendmail to solve that error then only got an "end of auction winning bid notice"
guess cloning the action is one way of re doing it and will work for now, other problem I had was I wanted to be able to start at a lower amount than $1.00, like a penny auction
Bramnick
what is it set at for increments?

I didnt try a start price lower than $1. I didnt (knowingly) touch that code. It would have thought that $0.01 would work....

I can take a peek...

Will get back to the forum if I find something

AHB

22 Apr 2008, 12:57 AM
#68
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

AndyII:

well on the test site, welcome letters worked, as fas as confirmations, I didnt test it as its not setup as a production site where I can buy something.
I would assume ( yea I know, never assume) that they would also work :mellow:

Very interesting. I setup the email as usual in the ADMIN panel. I didnt play with the emails. I will need to retest it, but I recall getting emails.

the only thing I know of is that unless someone LOOKS at an item after the auction closes, there is no email sent. The system needs a cron job that locates closed auctions and notifies the winners... I have thought about it, but done nothing more than that.

AHB

22 Apr 2008, 12:57 AM
#69
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

mooncavecrystals:

I did a clean install of zencart for my wholesale site and a clean install of the auction mod. Everything appears to be functioning wonderfully.

On my retail site, i had the old auction mod installed with a few code adjustments due to the email not working, etc. I installed the new auction mod over the old (since i had no ideas what files to remove without screwing things up). It all appears to work EXCEPT for the email, even though I changed the email option over to sendmail as well.

I have no idea where to look to find out why this is happening. Any suggestions?
Thanks!

Exactly which emails are NOT going out?

AHB

22 Apr 2008, 4:22 AM
#70
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

did a test auction today and got this email seems a couple house past after end of auction before I got the email, I am using 'sendmail' but the SMPT should work as well

bramnick
The bidding has to be a $1.00 and then any increment , Exp. $1.01 to take the bid
(not on your rework, this is before you did any mods), but I want to be able to start the bidding at $.10 as most of these items may only sell for $2.00-$3.00
so small increments are ok with me for now

Dear user
You recently bid on our auction product - New Auction. The auction for that product is now closed, and you were the highest bidder. You should login to the store to complete the purchase of this product
For help with any of our online services, please email the store-owner:

22 Apr 2008, 12:56 PM
#71
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

I am looking at the email code... I dont think I am getting ANY emails regarding auction items, but I havent really played with it yet.

I will look at the $1 minimum. I am not sure where the code for that is, but your observation that it was the minimum before I started playing will help me track it down (thanks!).

I am not sure when I will get a chance to look at this, but I will try.

(I also noticed that the expire HOUR is stored in a different DB field than the time (which seems a little odd) so I want to poke around with that too. )

AHB

22 Apr 2008, 1:46 PM
#72
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

After receiving the winning bid email, I went and "paid" for the auction, I then received the order confirmation, so I would say that the emails seem to work, Yes the time difference (2 hours) from when the action ended and when I received the notice is strange

22 Apr 2008, 2:27 PM
#73
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

bramnick, kind Sir;
a question, will your mod work with zen 1.3.7?
Im looking now at the code trying to see where the control is for the minimum starting bid.
I did another test auction, put '0' as the starting price, but its still looking for that minimum of $1.00 plus to be able to bid, even tried $1.00 and said "Bid Too Low" but as was with the other tests $1.01 was accepted.
Sir, if you can figure this out, I would be indebted to you :clap:

22 Apr 2008, 8:22 PM
#74
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

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

22 Apr 2008, 8:25 PM
#75
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

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

23 Apr 2008, 1:24 AM
#76
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Location:
Australia
Posts:
305
Plugin Contributions:
0

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.

23 Apr 2008, 1:31 AM
#77
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

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 :)

23 Apr 2008, 2:28 AM
#78
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

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.

23 Apr 2008, 2:55 AM
#79
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

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?

23 Apr 2008, 6:05 AM
#80
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Location:
Australia
Posts:
305
Plugin Contributions:
0

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.