Post by wewlad » Tue Aug 30, 2016 3:43 am

Hello,
I'm quite newbie to both editing .php and to OpenCart CMS.
I use coupons that give discounts to prices, but on /cart and /checkout pages (as well as in admin panel) - they table lists the coupon's discount BEFORE the sum, which doesn't look right.

I've looked through the .php template files, but I failed to figure out how to reorder the rows in those tables to put the sum (not total, but sum) above the coupon's discount.

Please, help.

Newbie

Posts

Joined
Wed Jul 27, 2016 1:35 am

Post by knowband.plugins » Thu Sep 01, 2016 10:22 pm

Could you please create a screenshot of your requirement?

Do you need to show coupon code field after sub total?

Also let us know exactly which version of Opencart are you using.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm


Post by wewlad » Sat Sep 03, 2016 8:27 am

Sure, here is the screenshot:
Image
(sorry, the important area of the image gets cut by this forum's page, so I've made the image clickable)

As you can see it goes from -62$ to 620$ to 558$, which doesn't look right: the coupon's discount should go right before the order's total.

OpenCart Version 2.2.0.0 (rs.1)

Newbie

Posts

Joined
Wed Jul 27, 2016 1:35 am

Post by knowband.plugins » Sat Sep 03, 2016 1:48 pm

Go to Extensions > Order Totals

and edit below listed three modules:

1. Coupon
2. Sub total
3. Total

SInce you want to move coupon code after sub total, please ensure that sort order of sub-total is less than sort order of coupon code.

Hope this helps !!

If you are not able to make it work, contact us to get FREE help, we will do it for you.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm


Post by wewlad » Sun Sep 04, 2016 6:04 am

That solved the problem.
knowband.plugins, thank you a lot!

Newbie

Posts

Joined
Wed Jul 27, 2016 1:35 am

Post by knowband.plugins » Mon Sep 05, 2016 1:51 pm

Most welcome. Glad we could help :)

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Who is online

Users browsing this forum: No registered users and 48 guests