Jump to content

New order confirmation discount


tornadostudio

Recommended Posts

Hi there,

 

if somebody buys a product in our shop, the discount percentage is clearly visible in the shopping cart next to the unit price in red.

 

Image:

cart-1.jpg

 

But when we get the new order confirmation, the percentage is not there anymore in the calculation. We need this discount amount to update our bookkeeping program.

 

Is there any way to add this discount percentage to the new order confirmation template?

 

Thanks!

 

Alex

Link to comment
Share on other sites

This isn't a bug but standard behavior of prestashoip. You would have to make changes at several places.

 

1) Add the additional values for percentage or fixed amount discounts in the file PaymentModule.php.

2) Add the new variables from PaymentModule.php also to the order_conf.html file.

 

The first ot the two steps is the more difficult one.

  • Like 1
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...