Thread: Offer?
View Single Post
  #1  
Old 01-20-2011, 07:06 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 68,697
RoconzaArt is an unknown quantity at this point
Default Offer?

So was playing around with the trade feature and i noticed in my trade request it listed a place in the table for cash offers.



Does the code it's self have the option for offering cash for adoptable and if so how do I activate it?

PHP Code:
    // Now if the user has entered in a cash amount make sure they have the money to cover the transaction with the other user...

    
if($cashenabled == "yes"){

    
$moneyleft $mycash $cashgiven;

    if(
$moneyleft 0){

        
$flag++;
        
$error "You do not have enough ".$cashname." to cover the payment amount you have selected to pay the other user.  Please either earn more ".$cashname." or decrease your payment amount.";

    }
    
    
// Now check that the user can cover the site's transaction offer fee...

    
$moneyleft $moneyleft $tradeoffercost;

    if(
$moneyleft 0){

        
$flag++;
        
$error "You do not have enough ".$cashname." to cover the cost of making this trade offer.";



    }


    } 
__________________
Reply With Quote