Bids should show the users that placed the bid and the bid values. maybe like "xpete ($10000)".
Highest Bid should not be editable but you can keep as a label.
The "Auction Timeout" is on the wrong side as you can see on the screenshot... I think you should replace this with a date_popup like in the uc_auctions and remove all your css.

CommentFileSizeAuthor
auction_form.png9.61 KBxpete

Comments

xpete’s picture

Assigned: xpete » Unassigned
farhadhf’s picture

I'm gonna wait for http://drupal.org/node/1550950 issue to be fixed, Then I'll use views to create a page for listing bids as a tab on node page.
I'm thinking of creating a read-only or hidden widget for commerce_price field to be used with highest_bid, Do you have any suggestions to do this without additional code?
The problem with the timeout module needs a separate issue on its own issue list. I'll implement a new field widget for that in the following week.

Thanks for reporting the bugs xpete :)

xpete’s picture

xpete’s picture

I only really tried this modules now and none do what i need outt of the box so i guess you will have to code sth.

Btw... It's me who have to say thanks for replying and fixing things so fast... I'am testing this module and uc_auctions to use on an auctions website and i'am hoping I can use commerce on it but your module still needs some work.

farhadhf’s picture

Hi,

I only really tried this modules now and none do what i need outt of the box so i guess you will have to code sth.

OK, Thanks for testing them! I'll start creating a read-only widget for the commerce_price field tomorrow.

Btw... It's me who have to say thanks for replying and fixing things so fast... I'am testing this module and uc_auctions to use on an auctions website and i'am hoping I can use commerce on it but your module still needs some work.

No problem! I've been busy the last couple of days, but I'm free from tomorrow to Saturday, I'll start working on the issues tomorrow ;)

P.S. If you need your website soon you should probably go with uc_auction. This module will at least need a few more weeks of work to get ready for first beta release!

farhadhf’s picture

committed hidden widget for commerce_price field.
Please uninstall entity_count_display field before updating. after you've updated the module, enable field_helper module, it contains both entityreference count formatter and the new hidden widget.

xpete’s picture

I saw your "hidden widget" code and i think you should use an Item element with the value and remove the "if user 1".

farhadhf’s picture

Hi xpete,
I changed the hidden widget, It's using an item element now.
About the date popup for timeout module, Currently I'm saving the time amount in seconds, and it seems that not possible to use a date popup as the widget because it needs $entity->created to save the field value and compute default value for the widget form element, and $entity is not available in hook_field_widget_form()... I have commited a fix for the css problem with the current timeout widget though.

xpete’s picture

the "Highest Bid" and the timeout fields looks good to me...
About the date_popup i'am not sure if I understand your comment...
Can't you do this?:
AS you can only store the timeout in one way i think you should store as an date/time. I think I it will be the more useful one and I guess that's why uc_auctions does that... and that's what i need anyway.
Use the date popup as default.
If you really need the actual widget get the current date/time, add the timeout and you will get the timeout. or do the calculation on submit or sth like that.

xpete’s picture

farhadhf’s picture

Status: Active » Closed (fixed)

Removed previous field widget and added a new one with date_popup form element. Please remove the field from your entities and add them again, field schema has been changed.

I'm closing this issue, Please create a new issue If you run into problems caused by this change.

farhadhf’s picture

I just committed the bids list page, I've used views to create a page as a tab on auction display nodes which lists bids of the auction in a table.

Please test it and if you get into any problems or find any bugs, create new issues for them!

Thanks