Post by aainul » Sun Jul 26, 2020 1:08 am

Hello OCians, Cheers to All.

I recently found an Issue... the issue is with Flat Rate (Shipping Method) and Tax Classes...
As I'm from India, So I've to create multiply tax classes because of GST (Goods and Services Tax)...
But after creating all Tax Classes, I found an Issue, to set Flat Rate we have to Set Tax Class there but you can select only one Tax Class,
So when I select a class there and another in product tax class, order placing show error.

Solution can be, if Tax Classes Excluded from Flat Rate, or Multiple Tax Classes can be selected in Flat Rate.
Lemme Give a scenario,
Product A cost 100 $ and with 12 % Tax, its total is 112 $, and Another product cost 200 $ and with tax of 18% its total is 236 $, so both the products have different Tax Classes (Tax 12 % and Tax 18 %)
Now when I activate Flat Shipping Rate to Tax classes 'None' shows error, and cant select all the classes,

Please Help. and sorry for Bad English.

Newbie

Posts

Joined
Thu Nov 01, 2018 12:50 am

Post by johnp » Fri Jul 31, 2020 1:40 am

Try X-Shipping Pro. I've used that and it's a very capable and flexible extension:

https://www.opencart.com/index.php?rout ... n_id=13705

Try the free version first though as that may give you what you need:

https://www.opencart.com/index.php?rout ... _license=0

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD 2.6.1 lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by Johnathan » Fri Jul 31, 2020 3:59 am

You shouldn't be getting an error when you choose a single tax class. Is it an actual error, or just a miscalculation?

If it's just a miscalculation, then that would be because OpenCart does not work with multiple tax classes on a single shipping cost. It only lets you set a single tax_class_id for the shipping quote array, so you cannot use multiple tax classes. I've worked on this before, and it's too hard to do this within a shipping extension and get it working properly. You'd have to change how OpenCart core files work in order to use multiple tax classes on a single shipping rate.

If you're getting an actual error, post a screenshot of what you're seeing, and we'll see if we can offer you any advice.

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 3 guests