Welcome, Guest ( Customer Panel | Login )




 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  

stone5150
VP-CART New User

USA
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

Happy
VP-CART 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.

Thanks,
Happy
Go to Top of Page

seeker1
VP-CART New User

Australia
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
www.hkprog.com


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