Jump to content

Recommended Posts

Hello guys and ladies,

I like to ask you a stupid question, but very important for me:

How can I modify total of the cart, to add some extra fees? actually this one:

$this->context->cart->getOrderTotal();

I need actually modify or make my own function to rewrite amount final?

Example:

getOrderTotal() = 100$ 

I need modify it to 105$

Please help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More