PDA

View Full Version : Custom error pages?


be23
03-29-06, 10:50 PM
Is there a way to create custom error pages instead of the horrible built-in ones?

-Brandon

Vic - WolfPaw Computers
03-29-06, 10:57 PM
Sebenza's Fatal Error Plus (http://www.mivacentral.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=m&Product_Code=SS-ERROR&ref=WPAW) is fabulous for this.

Is there a way to create custom error pages instead of the
horrible built-in ones?

-Brandon

larryh
03-29-06, 10:58 PM
Sebenza Studio's "Fatal Error Plus" module. (sebenzastudios.com)

be23
03-29-06, 11:28 PM
Thanks for the info!

willough
03-30-06, 05:26 AM
Are there some example pages to see on live sites?

ILoveHostasaurus
03-30-06, 07:51 AM
Are there some example pages to see on live sites?

The Sebenza module lets you handle the errors in multiple ways:

1) You can deliver the custom content of your choice by typing it into the module settings, or

2) You can have it issue a redirect to the URL of your choice when the error occurs, such as your storefront.

I personally recommend using option #1 or redirecting to a non-Merchant URL because I've sometimes seen the redirect get the browser stuck in an infinite loop if the previously requested URL arguments are appended onto the newly redirected URL.

So basically the error page looks any way you want it as opposed to the normal Merchant "Fatal Error Has Occurred... followed by cryptic error message"

Vic - WolfPaw Computers
03-30-06, 08:02 AM
One of the best features of this modules is its ability to include OpenToken scripting into your formats as well.

You can extensively customize the error message using OpenToken conditionals to check if the error was on a category or product page, or even drill down to specific responses to specifc products.

Say you had Prod XYZ, and you no longer carry it because ABC came out and is the new improved version. You can set a conditional to look for Product_Code=XYZ and redirect the customer to ABC instead.

be23
03-30-06, 10:01 PM
Wow! That sounds pretty powerful and handy!

capnhud
08-30-06, 08:47 PM
One of the best features of this modules is its ability to include OpenToken scripting into your formats as well.

You can extensively customize the error message using OpenToken conditionals to check if the error was on a category or product page, or even drill down to specific responses to specifc products.

Say you had Prod XYZ, and you no longer carry it because ABC came out and is the new improved version. You can set a conditional to look for Product_Code=XYZ and redirect the customer to ABC instead.

How would you go about doing this because I have yet to figure it out? If you don't mind explaining