Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Ho to empty the cart after order is complete?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Happy
VP-CART New User

90 Posts

Posted - September 03 2007 :  19:16:03  Show Profile  Reply with Quote
After the customer successfully returns from Paypal and comes to shopthanks, I want the following to happen:
1. The customer should still be logged in.
2. The cart should be empty.

How can I achieve this? I tried but could not find a clean way. Any suggestions will be appreciated.


Thanks,
Happy

support
Administrator

4679 Posts

Posted - September 03 2007 :  19:20:20  Show Profile  Visit support's Homepage  Reply with Quote
That is how it works by default.

You will need to try with the default files to have this work properly.

Thanks
Cam

VP-ASP Support
Go to Top of Page

Happy
VP-CART New User

90 Posts

Posted - September 04 2007 :  07:58:25  Show Profile  Reply with Quote
Cam,

I have made major changes in shopthanks so probably I have lost this functionality.

Can you please point me to the function that does this so that I can take it from there?

Thanks,
Happy
Go to Top of Page

support
Administrator

4679 Posts

Posted - September 04 2007 :  08:09:08  Show Profile  Visit support's Homepage  Reply with Quote
You need to ensure you have the following sub in your modified shopthanks.asp:

ShopCancelOrder

This sub clears everything from the cart at the end of the order process.

Thanks
Cam

VP-ASP Support
Go to Top of Page

Happy
VP-CART New User

90 Posts

Posted - September 04 2007 :  12:24:12  Show Profile  Reply with Quote
Great, thanks Cam for the info. I will make the necessary changes.

Thanks,
Happy
Go to Top of Page

Alex
VP-CART New User

50 Posts

Posted - September 10 2007 :  01:56:00  Show Profile  Reply with Quote
I have purchased Techred template and all relevant files comes with that.

When customer redirected to shopthanks.asp from say Paypal the Shopping Cart (LHS corner, techred) still shows the total and link "View Cart". Actually, the cart is appear to be empty when View cart is clicked.

should i check never touched shopsthanks.asp?

thanks

Go to Top of Page

support
Administrator

4679 Posts

Posted - September 11 2007 :  08:01:15  Show Profile  Visit support's Homepage  Reply with Quote
Hi Alex,

Try opening shopthanks.asp and locating the following referece:

ShopCancelOrder

Move this so it is on th eline above:

shoppageheader

Save and test.

Make sure you back your files up first.

Thanks
Cam

VP-ASP Support
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