Count of Bidder

Archived from the Web Auction Discussion forum.

marko — Wed Oct 05, 2011 10:06 pm

Hi Steve

I need your help, i want to show into public_product_list.html the count of bidder, i mean the number who bid into product.

example:
Current Bid: $25
Number of Bids : _____
Minimum Next Bid: $20
Estimated Value: $100
Lot Begins: 08/21/11 20:09:00
Lot Closeds: 11/11/11 23:59:00

BID NOW

Thanks and regards,

Mark


shannah — Thu Oct 06, 2011 10:16 am

You could add a calculated field to the products table that performs the count from the bids table (you just select count(*) from bids where product_id=” the product id “)… etc..

Then use this field in the product view template.