tornadostudio Posted July 10, 2017 Share Posted July 10, 2017 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: 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 More sharing options...
Scully Posted July 11, 2017 Share Posted July 11, 2017 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now