VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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