Skip to content

Coupon behaviour when country has tax = 0 #745

Description

@demeanor-bot

Bug Report

Current Behavior
When i update the country during the checkout and choose a country with tax=0, the tax is applied on cart but it seems like the coupon still have the old tax (20% for france). The result is this when i use a 24€ (gross) Coupon on a product
Image

Expected behavior/output
Altough the Total is correct, the taxes are not correct. It should be like this
Image

Environment

  • TYPO3 version(s): 13
  • cart version: 11.4.7
  • Is your TYPO3 installation set up with Composer (Composer Mode): no

Possible Solution
Currently i use BeforeShowCart Event to correct the tax on coupon and i had to add this to CartCouponFix:
public function setTaxClass(\Extcode\Cart\Domain\Model\Cart\TaxClass $taxClass) { $this->taxClass = $taxClass; }

Tell me if i'm wrong. I guess it's a bug no?

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions