Show Winning Bidder

A place to discuss and receive support for the Web Auction application.

Show Winning Bidder

Postby zedimus » Wed Nov 05, 2008 10:12 am

I am trying to find an easier way to show the winning bidder so you dont have to go to the product then bids tab to and go threw the bids to see the last bid.

I know that the auction send the admin the winning bids and user info in an email. But just in case i dont get all the emails i would like to have another way to do it.

Is there a way to show the winning bidder or highiest bidder on the product page with a get username code.

I am not sure what it would be in the code to show the high bidder user name.

EDIT: When you go to my watch list and it show that grid table of the products you voted on and who is the highest bidders, is there away to make one that shows all the auctions and the highiest bidders with out having to bid on them.

If i have to make a new html page that is fine. I will be the only one that will where it is.
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Postby shannah » Wed Nov 05, 2008 12:45 pm

Add the following to the templates/view_product.html template:

Code: Select all
{if isAdmin()}The high bidder is {$product->val('high_bidder')}{/if}

This would show it on the product details page (but only for admins).

Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby zedimus » Wed Nov 05, 2008 1:51 pm

That works Perfect and will make things alot easier for me.

Thanks Steve
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved