Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickcheckout not registered : Tax doesn't change depending on shipping country #834

Open
PubliAlex opened this issue Aug 27, 2021 · 0 comments
Labels

Comments

@PubliAlex
Copy link
Contributor

PubliAlex commented Aug 27, 2021

Hello,

When a tax is not set as default, it's applied "when the customer shipping country is known" (I quote mall)

However, when I checkout whereas I'm not logged in, I would assume that the tax would be applied as soon as I choose a country.

That's not the case. It's only applied once I finalize my order. It's a problem because I think it's a legal obligation (at least in EU) to display taxes that will apply to an order BEFORE payment.

Didn't investigate the issue yet, but it's probably the same kind of issue that the one with shipping method fixed recently. When the $cart->shipping_address object is not defined, the method that calculate taxes should probably get the country ID as a post parameter in order to display the right tax for the right country.

Also, the same kind we refresh the shipping method list partial when you change country, we should refresh the cart sidebar partial to refresh taxes

PS : Could not confirm the issue on the mall.offline.swiss website cause we don't have access to taxes settings, but I'm sure it can be reproduced on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants