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

[4.x]: Shipping method not matched #3814

Open
svondervoort opened this issue Dec 12, 2024 · 1 comment
Open

[4.x]: Shipping method not matched #3814

svondervoort opened this issue Dec 12, 2024 · 1 comment
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce

Comments

@svondervoort
Copy link

What happened?

Description

We have a set of shipping methods with rules related to weights. I'm not sure if it is weight specifically weight related, but whenever we go over the max weight of the shipping rule in the cart the shipping method gets removed from the order which I understand. But when I then adjust the cart back to fit in the weight shipping rule the shipping method isn't added again.

Steps to reproduce

  1. Create a product with a weight
  2. Create a shipping method
  3. Add a weight rule to the method with a max. weight higher than the weight of the product
  4. Add the product with an amount of 1 to the cart
  5. You should see the shipping costs
  6. Update the amount of the product to 2
  7. Now the shipping costs are gone
  8. Update the amount of the product back to 1
  9. The shipping costs still doesn't show up

Expected behavior

The shipping method should be matched again according to the cart/line-items and the shipping rules.

Actual behavior

No shipping method is re-linked to the cart.

Craft CMS version

4.13.3

Craft Commerce version

4.7.0

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@svondervoort svondervoort added bug commerce4 Issues related to Commerce v4 Craft Commerce labels Dec 12, 2024
Copy link

linear bot commented Dec 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce
Projects
None yet
Development

No branches or pull requests

1 participant