Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 [solved] Remove All From Cart feature
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DavidKay
Starting Member

8 Posts

Posted - September 24 2008 :  11:36:44  Show Profile  Reply with Quote
Hi all !

I'm looking in the shopaddtocart.asp file to add a new button to the form that will post a variable into the recalculate function that will remove all items from the shopping cart.

I've had a look through and through again, the recalculate() function looking for the area of code that checks against the checkboxes to remove those products.

Any ideas where this elusive bit of code lies ?

Thanks in advance!
David

Edited by - DavidKay on September 25 2008 06:01:21

DavidKay
Starting Member

8 Posts

Posted - September 25 2008 :  06:00:33  Show Profile  Reply with Quote
Found out the problem.

I had to empty out the cart array and re-assign it to the session variables to 'empty' it!
Go to Top of Page

DavidKay
Starting Member

8 Posts

Posted - September 25 2008 :  06:03:28  Show Profile  Reply with Quote
Wierd... I editted the topic to prefix it with [solved] in the title, and the entire topic jumped into this forum (addons) rather than the one it was sitting in (general help).

Please move it back if you'd like to!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00