Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
E
Events
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Development
  • Events
  • Issues
  • #39

Closed
Open
Opened Jul 08, 2020 by TomAnderson@TomAnderson

No way to empty the cart procedurally or via a URL

How do we get rid of anything in the cart? For example, if it's after 1 hour, we may want to dump the entire cart.

For example, could I do an AJAX call like this? {crmURL p='civicrm/event/empty_cart' q="reset=1" fb=1}

I'm not seeing anything to this effect.

Alternately, how can we do this procedurally (in PHP).

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/event#39