Null argument exception in cart after deletion of product variation

Created on 20 August 2023, 11 months ago

Problem/Motivation

If an item is carted, and the purchased entity is subsequently deleted before the user checks out, viewing the Cart page will result in a PHP exception.

Steps to reproduce

Add a product variation that is enabled for registration to your cart. Delete the variation. Visit the cart page.

Proposed resolution

Check if the variation exists in the order processor.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States john.oltman

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

Comments & Activities

Production build 0.69.0 2024