Skip to content

[v4.5] Add tax_category_id method to Spree::Product#6426

Open
solidus-bot[bot] wants to merge 2 commits intov4.5from
backport/v4.5/pr-6423
Open

[v4.5] Add tax_category_id method to Spree::Product#6426
solidus-bot[bot] wants to merge 2 commits intov4.5from
backport/v4.5/pr-6423

Conversation

@solidus-bot
Copy link

@solidus-bot solidus-bot bot commented Mar 15, 2026

Backport

This will backport the following commits from main to v4.5:

Questions ?

Please refer to the Backport tool documentation

The method has some logic inside, but was never tested. Test that the correct tax_category or the default tax_category will be returned.

(cherry picked from commit 7180bdc)
The LineItem and the Variant are referencing the tax_category_id, but does not have the same logic as the tax_category (the fallback to the default tax category). This method mirrors the same logic as the tax_category method.

(cherry picked from commit fc8e4ee)
@solidus-bot solidus-bot bot requested a review from a team as a code owner March 15, 2026 14:33
@solidus-bot solidus-bot bot added the changelog:solidus_core Changes to the solidus_core gem label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_core Changes to the solidus_core gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant