Problem/Motivation

When we have already a cart from an existing store, we disallow creating a new one and advice the user.
But if that's what they really want to do, we need a way for allowing them to empty that store cart, and continue adding the new product to a new store cart.

Proposed resolution

Add a link for emptying the existing cart to our warning.

Remaining tasks

User interface changes

API changes

Data model changes

None

Release notes snippet

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
FileSize
5.06 KB

Added working patch.

penyaskito’s picture

Added csrf protection, now this is ready.

  • penyaskito committed 5c6f345 on 8.x-1.x
    Issue #3074321 by penyaskito: Add link to empty existing cart on warning
    
penyaskito’s picture

Status: Needs review » Fixed

Fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.