Combine main cart into newest

Created on 29 November 2023, 10 months ago
Updated 18 April 2024, 5 months ago

Problem/Motivation

When all carts combine into the main, we will get an issue - when a user adds an item to the cart, logout, add a new item to cart as anonymously, and then log in (with checkout destination in URL) - we will get an error because in the destination we will have the newest cart id, but it will be deleted and merged in the main cart, so after login, we will get a 404 error, that cart not found.

Proposed resolution

I propose to merge the main cart with the newest and save the newest instead of the main.

πŸ› Bug report
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine r_cheh

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

Comments & Activities

Production build 0.71.5 2024