Skip to content

Clear cart after checkout #908

Closed Answered by duncanmcclean
sattyframework asked this question in Help
Discussion options

You must be logged in to vote

Ah okay, I don't generally recommend using custom controllers.

Anyways, this is where the cart is cleared in Simple Commerce's CheckoutController:

You'll need to import the CartDriver trait.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sattyframework
Comment options

@duncanmcclean
Comment options

Answer selected by sattyframework
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants