Page 1 of 1

Show Winning Bidder

PostPosted: Wed Nov 05, 2008 10:12 am
by zedimus
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.

PostPosted: Wed Nov 05, 2008 12:45 pm
by shannah
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).

-Steve

PostPosted: Wed Nov 05, 2008 1:51 pm
by zedimus
That works Perfect and will make things alot easier for me.

Thanks Steve