Checkout Complete page shows a non-active, non-licensed item

Created on 16 October 2017, almost 8 years ago
Updated 19 August 2025, 4 days ago

To reproduce:
- Create two product types, one being a downloadable/licensed product, the other any non-licensed product.
- Create a product display with a product from both product types (a licensed product and a non-licensed product) See screenshot: licensed-product.png
- The product page will show a dropdown of the SKU options (for example: a downloadable product, a CD or Hardcopy (shippable) option) (see screenshot)
- Set up your cart with an editable attribute field.
- Add a licensed product to the cart
- From the cart change the product selection from a licensed product to a non-licensed product. See screenshot: licensed-product-cart.png
- After checkout, the Checkout page will show a non-licensed product as a downloadable (without a link of course). This licensed product was originally in the cart but changed to a non-licensed product from the cart. See screenshot: licensed-product-inactive-product.png

Possible solutions:
- Do licensed products need to populate the commere_license table BEFORE checkout? As of now, this table gets junked up with abandon cart licensed products, which can be confusing to the store admin.
- Don't allow a licensed product in the commerce_license table to get modified to a non-licensed product (not sure why this would be allowed)
- Make the checkout complete licensed product list a view we can modify similar the view (list) of files in the User Profile section > Files page.
- Modify the query of this list to only show COMMERCE_LICENSE_ACTIVE products... why are COMMERCE_LICENSE_CREATED products included in this query? Shouldn't they be only COMMERCE_LICENSE_ACTIVE products?

πŸ› Bug report
Status

Closed: outdated

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nelslynn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024