Reserve Price

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

Reserve Price

Postby zedimus » Thu Jan 24, 2008 10:25 am

HI Steve

I am trying to add reserve prices to the auction site, I found this on the forums that you posted, I am a little lost on what file i add the reserve_price__permissions()

Thanks
David

This would require:

1. Add a field for reserve price (say it would be called reserve_price)


2. Define a reserve_price__permissions() method in the products delegate class to allow all access to admins and no access otherwise.


3. Make a small change to the closeAuction() function (in the include/functions.inc.php file) so that if the reserve is not met, a different email will be sent.
zedimus
 
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Postby shannah » Mon Jan 28, 2008 11:15 am

The products delegate class is located in the file tables/products/products.php

See the getting started with dataface tutorial for a little more info on delegate classes.

-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 25 guests

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