magento / magento/inventory

Not getting storepickup option on checkout because of wrong condition getting added in searchcriteria object.

Open
#3,079 2 comments 0 reactions 2 assignees Claimed by @engcom-Hotel View on GitHub
Progress: PR created
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### Preconditions (*)
1. Magento with 2.4-develop and Inventory with 1.2-develop
2. PHP 2.3
3. Environment: Ubuntu 18.04 / Mac 10.13.6
4. DB: MySQL 8.0.13

### Steps to reproduce (*)
1. Create 1 or more new sources with `Use as Pickup Location` option enabled in it.
2. Create new stock for default website using newly created sources
3. Assign products to newly created sources and add inventory in it so it can be available for pickup.
4. Enable In store Delivery shipping method from Store Config/Sales/Delivery Methods.

### Expected result (*)

1. While doing checkout on shipping step it should show Store Pickup option
2. After entering zip code in select pickup store option it should show store for pickup selection

### Actual result (*)

1. Due to invalid condition check and no condition check, wrong condition is being added in searchcriteria stores list was not getting results.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.