Highest bidder on favourites page

Is there a feature that you would like to see added to Enuuk Auction Platform?
Post Reply
bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Highest bidder on favourites page

Post by bamse » Mon Feb 06, 2012 12:14 pm

Display the currently highest bidder on the "my favourites" page.

RWAP
Site Admin
Posts: 748
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Re: Highest bidder on favourites page

Post by RWAP » Mon Feb 06, 2012 12:44 pm

That is fairly simple to do...

You need to alter:
themes\default\userFavourites.php

Find:

Code: Select all

                            <th scope="col"><?= _('Current Price') ?></th>
Change this to:

Code: Select all

                            <th scope="col"><?= _('Current Price') ?></th>
                            <th scope="col"><?= _('Highest Bidder') ?></th>
Find:

Code: Select all

                            <td><?=String::printMoney($offer->currentPrice,$siteOptions)?></td>
Change this to:

Code: Select all

                            <td><?=String::printMoney($offer->currentPrice,$siteOptions)?></td>
                            <td><?=$offer->bids[0] ? $offer->bids[0]->user->id: '' ?></td>
You may also be interested in our Enhanced Favourites module - see viewtopic.php?f=11&t=15#p15

bamse
Posts: 220
Joined: Mon Feb 06, 2012 12:05 pm
Contact:

Re: Highest bidder on favourites page

Post by bamse » Tue Feb 07, 2012 9:35 am

Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest