Skip to content

Free shipping for physical and virtual products with table rate not working correctly #27861

Closed
@SteveMcC71

Description

@SteveMcC71

Preconditions (*)

  1. Magento 2.3.4
  2. Magento 2.4-develop

Steps to reproduce (*)

  1. Create table rate file
    image
  2. Stores -> Configuration -> Sales -> Shipping Methods -> Table Rates "Price vs. Destination"
  3. Include Virtual Products in Price Calculation as "No"
    image
  4. Create a Simple Product with price 40$
  5. Create a Virtual Product with price 20$
  6. Navigate to Storefront and add both products to the Cart

Expected result (*)

  1. If a customer adds a physical product AND a virtual or downloadable product to their cart, the cost of the downloadable or virtual product should not be used to calculate the free shipping threshold (in our example 20$)
  2. Shipping price should 20$ according simple product price 40$

Actual result (*)

  1. If we have both a virtual and physical product in our cart and the total value exceeds our threshold of € 20 the shipping is free because it considers both types of product rather than excluding the virtual product from the calculation as expected.
    image

  2. With JUST virtual products in the cart the calculation is correct, or with JUST physical products in cart the calculation is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.3.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchstale issue

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions