Count of Bidder

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

Count of Bidder

Postby 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
marko
 
Posts: 7
Joined: Thu Sep 08, 2011 10:21 pm

Re: Count of Bidder

Postby 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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

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