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

tax rate state check fix #9817

Closed
wants to merge 1 commit into from
Closed

tax rate state check fix #9817

wants to merge 1 commit into from

Conversation

eness
Copy link
Contributor

@eness eness commented May 19, 2024

Issue Reference

#9816

@jitendra-webkul jitendra-webkul self-requested a review May 22, 2024 05:37
@jitendra-webkul jitendra-webkul dismissed their stale review May 22, 2024 05:38

Fix is not relavent

@@ -151,7 +151,7 @@ public function isTaxApplicableInCurrentAddress($taxCategory, $address, $operati
// dump($address);
foreach ($taxRates as $rate) {
if (
$address->state != '*'
$rate->state != '*'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not relevant. $address->rate was added because you can set the state to "*" in the "Default Destination Calculation" configuration. This address will be used for guests and customers without any saved addresses to calculate the taxes before saving the address in the cart.

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

3 participants