clearing the cart in calguys 'cart'

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

clearing the cart in calguys 'cart'

Post by scotch33 »

Hi,

CMSMS 1.6.6, Cart 1.4.2

I am using the cart as a way to generate a quote which I am then using formbuilder to send to the individual who has added items to the quote.  This is all working great, but I have one issue - if the person then goes back to create a second quote in the same session, the cart has not cleared.

Thus I need a UDT that will give me a button to 'clear the cart' which I can place on the submission template page in the form. 

Has anyone tried anything like this, or have any ideas about how I can clear the cart?

Thanks!

john
User avatar
cisco
Forum Members
Forum Members
Posts: 19
Joined: Sun Nov 25, 2007 8:16 pm
Location: Serbia

Re: clearing the cart in calguys 'cart'

Post by cisco »

Same question.

Cart is great module, but its weird that there is no action="clearcart" or some other option to manage cart items.
uniqu3

Re: clearing the cart in calguys 'cart'

Post by uniqu3 »

Actually don't you have ('empty_cart') in your View Cart Template?
User avatar
cisco
Forum Members
Forum Members
Posts: 19
Joined: Sun Nov 25, 2007 8:16 pm
Location: Serbia

Re: clearing the cart in calguys 'cart'

Post by cisco »

You're right. My apologies.

Seems that in 1.6 version of Cart module we now have "Remove All Items".

Awesomeness, thanks Callguy for adding the option ;)
Post Reply

Return to “Modules/Add-Ons”