Welcome Visitor, Please Login or Register Now Monday, April 29, 2024 12:28 AM 
Forums Index > Mewsoft Products > Auctionawy > Final Value Fees as %
New Topic   New Reply
Search for:
Author Message
poldy poldy's personal page
Registered Member
Posts: 90 Display member's posts
Joined: 04-29-24 12:28 AM
Member Offline
View Member's Profile Send private message
 
Back to top
Final Value Fees as % Edit Delete Reply with quote Quote
First Post Posted on: 09-28-08 11:46 AM next post first post
Hi at mewsoft.\ I found this piece of script in:\ FeesMaster.pm\ \ Is this the only place fees are calculated. It does not look to difficult to change it to a percentage calculation.\ \ Can you do it for a reasonable price, or let me know where else I have to look to find fees calculations.\ \ Using Verion 8\ \ Best regards\ \ Poldy\ \ \ ------\ #==========================================================\ sub Calculate_Closed_Auction_Fee{\ my($Quantity, $Reserve, $Current_Bid, $Increment, $Bids) = @_;\ my($Final_Price, $Reserve_Fee, $Final_Value_Fee);\ \ $Reserve_Fee = 0;\ $Final_Value_Fee = 0;\ \ if (($Reserve) && ($Quantity == 1)) {\ if ($Current_Bid >= $Reserve){\ for $x(0..$#Reserve_Fees_From) {\ if ($Reserve > $Reserve_Fees_From[$x] && $Reserve < $Reserve_Fees_To[$x]) {\ $Reserve_Fee = $Reserve_Fees_Fee[$x];\ last;\ }\ }\ }\ }\ \ if ($Bids > 0) {\ $Final_Price = $Current_Bid - $Increment;\ for $x(0..$#Final_Fees_From){\ if ($Final_Price > $Final_Fees_From[$x] && $Final_Price < $Final_Fees_To[$x]) {\ $Temp = (($Final_Fees_Fee[$x]/100) * $Final_Price)* $Quantity;\ $Final_Value_Fee = $Temp;\ last;\ }\ }\ }\ \ #if ($Global{Charge_For_Submitting} eq "YES"){$Final_Value_Fee = 0; $Reserve_Fee = 0;}\ \ return ($Final_Value_Fee, $Reserve_Fee);\ \ }\ #==========================================================
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 04-29-24 12:28 AM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Final Value Fees as % Edit Delete Reply with quote Quote
Reply #: 1 Posted on: 09-28-08 08:13 PM last post previous post
Not that easy, fees are spread everywhere in lots of files, so changes are not that easy. If you want to do it as a custom programming, contact us by email.

Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print