magento / magento/inventory

Store pickup doesn' work when i add customizable option to a simple product

Open
#3,269 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Confirmed Progress: ready for grooming Reported on 2.4.x Reproduced on 2.4.x
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

Preconditions (*)

Magento version 2.4.1

Steps to reproduce (*)
  1. Create a simple product.

  2. add a customizable option to this product (https://docs.magento.com/user-guide/catalog/settings-advanced-custom-options.html).
    Screenshot_2021-01-19 Joust Duffle Bag Products Inventory Catalog Magento Admin(1)

  3. in this customizable options settings, an arbitrary SKU must be provided, where as for other options, you can put any value

  4. activate In-Store Delivery (https://docs.magento.com/user-guide/shipping/shipping-in-store-delivery.html).

  5. create sources that are defined as pickup location (stores > sources)
    Screenshot_2021-01-19 Manage Sources Inventory Stores Magento Admin

  6. add sources that are defined as pickup location to this product.
    Screenshot_2021-01-19 Joust Duffle Bag Products Inventory Catalog Magento Admin

  7. add this product to a cart and try to proceed to a normal checkout.

Expected result (*)

The "In-Store delivery method" should be available in the checkout page (with or without the addition ofthe cutomizable option).
Screenshot_2021-01-19 Checkout

Actual result (*)

If we add the customizable option to the product, the in-store delivery method breaks (the customizable option "Montage is added as shown in order summary on the right)
Screenshot_2021-01-19 Checkout(1)

Additional notes
Severity (*)
  • 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”.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction steps for In-Store Delivery, customizable options, and simple products, then trace how the checkout determines available pickup methods when the option is present. Add regression coverage for the affected checkout scenario and verify that the In-Store delivery method remains available with and without the customizable option.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.