Jump to content

Increase order amount from module


Recommended Posts

Hello,

How to pass an arbitrary value to increase order's amount from my custom module ?

I'm trying to make a donation module who allows customer to add arbitrary amount to their orders, I'm able to store this value, but how to add it to the order amount ?

image.png.28d123160ed2eb88fbdb3abb99630f90.png

French question: 

 

Thanks a lot.

Nicolas

Link to comment
Share on other sites

  • 2 months later...
On 12/12/2018 at 6:41 PM, ndiaga said:

Hi,

I think the simplest   way is  to create a product call "  Donation "   and let customers add it if they want.

You can use a module like crosseling to display that donation in product  details page and in shopping cart summury.

Hello, thank you for your answer

Finally I made a module to do it.

And it works as you said.
 

 

Link to comment
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...