Back to Top

How dialog error message works in xCart?

To display message and redirect on xCart

Here I come with one more new quick and little article and This is about xcart.Well, How dialog error message works in xCart and how you redirect to next page like header function in PHP.

The message is important to say which action done on the page and sometimes you are doing customization and you want to display error, warning or information, you need to display the message which inform user about action.

so,Let’s understand the code:

you can write error message like following code:

Here,content is the message you want to display and type is the type of message and type can be:

Dialog message will display only one time on next page after the first redirect.

After displaying message, if you want to redirect the other page, you can write below line of code:

Further Read:

Enable Console in X-cart
To add Signup Bonus in X-Cart

That’s it.I hope this article is useful to someone.

Don’t hesitate to use this code in your xCart projects and post your comments if you need help. As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How To view module Position in Joomla

Posted on 12 years ago

Bhumi

How to display ADMIN Toolbar in UI

Posted on 12 years ago

Bhumi

How to get the host name of user in PHP

Posted on 12 years ago

Bhumi

AWS Cloud Database Migration Service

Posted on 7 years ago

Bhumi

How to use Micro Data in HTML5

Posted on 9 years ago

Bhumi