Commerce Cart Empty Paths

Component ID

2700493

Component name

Commerce Cart Empty Paths

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

496

Component created

Component changed

Component body

About this Module

This module allows site administrators to define multiple paths, and when a user visits a non-declared page, their shopping cart is emptied.

Usage

  1. Download and enable the module.
  2. Go to admin/commerce/config/empty-cart-paths and enter any additional paths. checkout, checkout/*, cart and cart/* are declared by default.
  3. That's it!