php - How to make cart & checkout page calculation in opencart


Actually, i'm working on opencart 2.3, if now checkout page calculation in opencart:

Sub-Total₹ 1,520.00
India Shipping₹ 180.00
Discount (-07%)₹ -119.00
Total₹ 1,581.00

it s taking discount in shipping amount also i don't want discount shipping amount, i want calculation like this please help. 

Sub-Total₹ 1,520.00
Discount (-07%)₹ -106.40
India Shipping₹ 180.00
Total₹ 1,593.60



you should change in admin>extensions>extensions>Order totals... sort order for the shipping. Move it down by changing sort order number higher than your discount voucher.

People are also looking for solutions to the problem: php - Colored var_dump with Xdebug not working properly


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.