Jump to content

Auto refresh or Auto redirect after error


Webmaster001

Recommended Posts

We have an ajaxcart orderform. If the client makes a mistake and faces an error we want to edit the "error.tpl" so it automatically redirects clients to a known website (for example, http://www.exampledomain.com) with some delay . For example 3 seconds. Or perhaps if we could refresh the page that would be great too so the client can retry entering the information.

 

Any suggestion how we can do that?

 

- - - Updated - - -

 

As an alternative the error is happening in the configureproduct.tpl when the product is configured. If we can set up the configurproduct.tpl to send the client to a certain page (product direct link) that would refresh our page and the client could Retry filling the forms.

 

Again, a delayed auto refresh would work. Any comments?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated