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

Fix display of tax adjustments in checkout #242

Conversation

adammathys
Copy link
Contributor

@adammathys adammathys commented Sep 2, 2022

Description

We loop through order.all_adjustments.tax just above this block. Which means there's no need to print out those tax adjustments a second time here.

This has been broken for ~9 years now I think. However, it's largely gone unnoticed because we haven't had any order-level tax adjustments for quite a while. Now that we've got a new order-level tax coming (solidusio/solidus#4491) we should fix this.

How Has This Been Tested?

Tested locally in a sandbox app.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

We loop through `order.all_adjustments.tax` just above this block. Which
means there's no need to print out those tax adjustments a second time
here.

This has been broken for ~9 years now I think. However, it's largely
gone unnoticed because we haven't had any order-level tax adjustments
for quite a while. Now that we've got a new order-level tax coming
(Colorado Delivery Fee) we should fix this.
@waiting-for-dev waiting-for-dev merged commit 6fd1fc4 into solidusio:main Sep 9, 2022
@adammathys adammathys deleted the adammathys/fix-tax-adjustment-display branch September 12, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants