Skip to content

feat(tax): add universal tax fallback via 'Apply to all countries' country option #468

Description

@superdav42

Summary

PR #277 (feat(tax): add universal tax fallback feature) was closed by the maintainer in favour of a redesigned implementation.

Maintainer's requested approach

Instead of a separate settings toggle + rate field, implement universal/fallback tax as an 'Apply to all countries' option in the country dropdown on the Tax Rates configuration page.

When a user selects 'Apply to all countries' from the country dropdown, that tax rate applies as a fallback when no country-specific rate matches the customer's country.

Context from PR #277

Acceptance criteria

  • Tax Rates configuration page country dropdown includes an 'Apply to all countries' option
  • When a tax rate has 'Apply to all countries' selected, it is used as a fallback when no country-specific rate matches
  • Existing country-specific rates take precedence over the universal fallback
  • UI is consistent with existing Tax Rates page patterns
  • Translations updated for new string(s)
  • Unit/integration tests cover the fallback logic

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions