1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Add a handling fee
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 849 Views |
-
Add a handling fee

7 August 2009 at 5:52am
I want to add a $5.00 handling fee to all orders, regardless of how many items are purchased.
How can I add $5.00 below the sub total and $5.00 to the grand total on the checkout page?
-
Re: Add a handling fee

14 December 2009 at 10:17pm
Ok, a little old. But I guess someone could find it useful.
have a look at http://doc.silverstripe.org/doku.php?id=ecommerce:overview#ordermodifier
something like
class HandlingModifier extends OrderModifier {
protected static $is_chargable = true;function LiveAmount() {
return 5;
}
function TableTitle() {
return 'Handling Fee';
}
}
| 849 Views | ||
|
Page:
1
|
Go to Top |


