Placeholder donation stays in the cart if donate workflow is aborted

Created on 14 May 2021, over 3 years ago
Updated 1 September 2023, about 1 year ago

Problem/Motivation

Visiting /donate then going elsewhere on the website without following through with the donation leaves an empty order item in the cart.

This is especially a problem when there are other products in the store. Here's an example of a cart block on a site I'm working on:

Steps to reproduce

  1. Go to /donate
  2. Go to another page
  3. Go to /cart

Proposed resolution

I'm not really sure. It's hard to detect when someone leaves a page. Perhaps the donation item is being added to the cart too early. Would it be better to have a donation product?

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia imclean Tasmania

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