Jump to content

Locations of error message files


Recommended Posts

I found that the heading for the error notification is amongst the javascript in order-opc.tpl line 68. 'There is X error(s)'.


The text for some of the various error notifications themselves can be found in controllers/AuthController.php around line 277 and again at line 414.


I cannot locate messages for lastname, firstname, email, address(1) and city or the HTML markup for the ordered list etc.



Link to comment
Share on other sites

The ordered list <ol><li>markup is located in order-opc.js lines 495 and 590 so at least I can now target some new styles to the notifications.


Still don't know where the bulk of the actual messages are generated though.


It woud be very handy to change both the format and text of these notifications. The english lanquage used is incorrect, words are compounded (e.g 'first name' becomes 'firstname') and the messages, in the form of an order, come across as plain rude.


For example I would like to change the error messge 'lastname is required' to 'Please include your last name'.


I may seem trivial but abandoned shopping carts at the checkout stage are always a real problem and changing the error messages so they are polite, easy to understand and gramatically correct will go a long way in resolving this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...