Skip to content

In Store Delivery sources show regardless of product stock status #37992

Open
@dtfdigital

Description

@dtfdigital

Preconditions and environment

  • Magento version: 2.4.6
  • Anything else that would help a developer reproduce the bug:

Steps to reproduce

  1. Create new non-default "Stock" and set the sales channel as your website.
  2. Create 2 sources: Local, Warehouse.
  3. Set Local source as an active pickup location and fill out the fields pertaining to this (address, latlong etc)
  4. Assign these sources to the non-default stock.
  5. Ensure that the distance settings / api key etc are set correctly so that pickup locations can show on the frontend.
  6. Create a product, and assign the Local, and Warehouse sources. Set the stock level on Local as 0 (out of stock) and warehouse as 5 (in stock).
  7. On the frontend, add the product to cart and proceed through the checkout.
  8. Select the pick in store option.

Expected result

As the product is out of stock for the Local stock source, the store pickup location for this should not appear (or show as unavailable).

Actual result

The store pickup location for the Local stock source shows as available.

Additional information

In order to resolve the issue the product needs to be removed from the Local stock source when out of stock which negates the point of having the out of stock status on these?

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Cart & CheckoutComponent: ShippingIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions