Showing bid history

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

Showing bid history

Postby aleutia » Thu Mar 04, 2010 10:19 am

Steve,

In a previous thread you gave the following code to show bid history:

{foreach from=$product->getRelatedRecordObjects('bids') item=bid}
{$bid->val('username')} : {$bid->val('bid_amount')}
{/foreach}


Where do you put the code?

thanks,
Steve
aleutia
 
Posts: 11
Joined: Tue Jan 12, 2010 1:17 pm

Re: Showing bid history

Postby shannah » Thu Mar 04, 2010 11:11 am

This would go in the templates/view_product.html template.

-Steve
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 19 guests

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