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-Cart StoreFront Customer Forum

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

 All Forums
 VPCart Forum
 Problems and bugs
 Shoperror link goes ''home'', it should go ''back''
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

186 Posts

Posted - May 04 2007 :  13:16:48  Show Profile  Visit stone5150's Homepage  Reply with Quote
Not a bug but something not thought out very well.

In shoperror.asp on line 24, it says;
Response.write "<a href=""" & home & """>" & getlang("LangCommonHome") & "</a>"

when it makes a lot more sense to say;
Response.write "<a href='javascript: history.go(-1)'>" & getlang("LangCommonBack") & "</a>"

or even;
Response.write "<a href='javascript: history.go(-1)'><img src=images/site/back.gif></a>"

Edited by - stone5150 on May 04 2007 13:21:08

VP-ASP New User

90 Posts

Posted - May 07 2007 :  12:53:46  Show Profile  Reply with Quote
Great tip Stone5150. I for one will certainly use it.

Go to Top of Page

VP-ASP New User

114 Posts

Posted - May 07 2007 :  23:29:48  Show Profile  Visit seeker1's Homepage  Reply with Quote
There is an issue with "going back"

shoperror.asp is a generic routine for all errors where VP-ASP wants to stop the normal flow of processing. It actually has been thought about for many years.

If you use the back Javascript, you may find you put the customer into a loop.

Howard Kadetz
Visit us for VP-ASP add-ons and customizations

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000