You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Magento has several sources associated with the website stock, and a configurable option is associated with only some of these and not all, if it is put in the cart, during checkout only the sources/stores where it is associated should be visible for it to be picked up. It's instead showing all sources of the website stock.
On the contrary, if the same product is added to the cart but from its simple product page, not as an option of the configurable, the list of stores/sources in the checkout will reflect its associations with sources.
I've tracked down the issue to vendor/magento/module-inventory-in-store-pickup-frontend/view/frontend/web/js/view/store-selector.js at line 171, qty_options is null when there's a simple product, and has values when the product is a configurable option. But this should not affect the availability of store selections, it should reflect the association that the product has
Preconditions (*)
Magento 2.4.3-p3
PHP 7.4
Steps to reproduce (*)
Have multiple sources associated with the website stock
Associate a simple product with only one of the sources
Have the simple product to be an option of a configurable product
Add the simple product to the cart from the configurable page
Click the "select store" button in the checkout when choosing the in-store pickup option
Expected result (*)
Only the associated source should be visible in the popup
Actual result (*)
All website sources are shown in the popup
The text was updated successfully, but these errors were encountered:
If Magento has several sources associated with the website stock, and a configurable option is associated with only some of these and not all, if it is put in the cart, during checkout only the sources/stores where it is associated should be visible for it to be picked up. It's instead showing all sources of the website stock.
On the contrary, if the same product is added to the cart but from its simple product page, not as an option of the configurable, the list of stores/sources in the checkout will reflect its associations with sources.
I've tracked down the issue to vendor/magento/module-inventory-in-store-pickup-frontend/view/frontend/web/js/view/store-selector.js at line 171, qty_options is null when there's a simple product, and has values when the product is a configurable option. But this should not affect the availability of store selections, it should reflect the association that the product has
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: