-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1.1
-
Fix Version/s: 2.1.2
-
Component/s: Digital Store Management → Inventory
-
Labels:
-
Git Pull Request:
-
Epic Link:
I created a bundle and included SKUs which have 0 available quantity but can be backordered. Because they can be backordered, I can add them to my cart in the storefront. But in the context of a bundle, they don’t show up as available.
I tested and as soon as I increase the quantity on hand and the available quantity increases to 1 or more, they show up in the bundle.
Assumptions
- Working storefront that can display products. You can use Minium for convenience
Steps to Reproduce
- Create a product that can be backordered
- Set the SKU's quantity to 0
- Create a second product
- Make sure this product has available inventory > 0
- Create a third, bundle, product
- Creat an option
- Field type is Select from List or Single Select
- Price type can be either Static or Dynamic
- Create two option values
- Option value #1 is linked to the product SKU created in Step #1
- Option value #2 is linked to the product SKU created in Step #2
- Generate all SKU combinations
- Make this product backorder-able or give it available quantity
- Creat an option
- View the product in the storefront
Expected Result
Option value #1 and option value #2 are available because
- The SKU linked to option value #2 has available quantity, and
- The SKU linked to option value #1 can be backordered
Actual Result
Option value #1 is not selectable/can't be added to the cart
Reproduced On
7.2
Tomcat 9.0.33 + HSQL 2.3.3
DXP 7.2 FP5
Commerce brianchandotcom/liferay-portal-ee:7.1.x git hash d2d6ed7cdc6adec6573191ebf68b38930033b6ba
7.1
Tomcat 9.0.33 + HSQL 2.3.3
DXP 7.1 FP17
Commerce brianchandotcom/liferay-portal-ee:7.1.x git hash d2d6ed7cdc6adec6573191ebf68b38930033b6ba
- fixes
-
COMMERCE-2802 The availability of a SKU linked to a product option should determine the option's availability
-
- Closed
-