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

Shopping Cart Price rule - Free Shipping weight condition #3975

Open
gstdp opened this issue May 7, 2024 · 0 comments
Open

Shopping Cart Price rule - Free Shipping weight condition #3975

gstdp opened this issue May 7, 2024 · 0 comments
Labels

Comments

@gstdp
Copy link

gstdp commented May 7, 2024

Preconditions (*)

  1. OpenMage 20.6.0

Steps to reproduce (*)

  1. Create a Shopping Cart rule
  • with Condition: All the following conditions are FALSE: Total weight is equals or greater than 20
  • and Action: Free Shipping for Shipment with Matching Items
  1. Create a quote through the frontend. When the total weight is less than 20, shipping rates should be free.
  2. Create a quote through the admin panel (admin/sales_order_create/index). When the total weight is less than 20, shipping rates should be free, however they are not

Expected result (*)

  1. Both quotes created through the frontend and admin panel should have free shipping rates if the quote is below the total weight configured in the shipping rule conditions

Actual result (*)

  1. The quote created through the admin panel will not get free shipping rates.

In the quote address totals collection process, weight is calculated and set by the shipping totals collector.

However, the totals collector for freeshipping will be run before the totals collector for shipping.

When creating an order via the admin panel, weight is not set on the quote address as the shipping totals collector has not run. When creating an order via the frontend, weight is persisted on the quote address, and is set when the freeshipping totals collector runs.

Any thoughts on how to best fix this issue?

@gstdp gstdp added the bug label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant