View Single Post
Old January 3rd, 2007, 08:24 PM   #3 (permalink)
nuguru
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 48
Question Tested it again, no luck

Hello,

Thanks for the quick reply. I checked your code with my code (shown below) and they pretty much are the same. Then I put in a test bid for product - http://www.webbinzine.com/classified...php?product=54 and still $5.00 minimum increment is only allowed.

Can you log in and test it yourself on this test product? I would like to first find the fix and then be able to allow users to bid at $.01 increments apposed to $1.00 increments. Is that possible?

Thank You,

Nuguru

______________________ my code below

// If the bid is higher than the maxbid, then its easy...
if ( $mybid > $maxbid )
{
// The person bid higher than the current high bidder's highest bid
if ( $maxbid != 0 ) $curprice = $maxbid;

if ( $curprice < 10 ) $curprice += .25;
elseif ( $curprice < 50 ) $curprice += 1;
elseif ( $curprice < 100 ) $curprice += 5;
elseif ( $curprice < 500 ) $curprice += 10;
else $curprice += 25;

if ( $mybid < $curprice )
{
$toolow = str_replace( "curprice", "{$Globals['currency']}$curprice", $Globals['pp_lang']['toolow'] );
diewell( $toolow );
}
nuguru is offline   Reply With Quote