Changing default error messages in Orders Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
KW2912
Forum Members
Forum Members
Posts: 14
Joined: Thu May 23, 2013 1:52 pm

Changing default error messages in Orders Module

Post by KW2912 »

Hi.

I'm trying to change the default page for the error message displayed when a user tries to go to the checkout without being logged in first. The reason for this is that I want to add a "Login or Register" button beside the error text and also give the page an H2 heading.

The default message is:

Please either login or register before paying for your item(s).

and located in the default lang file in the orders module as:

$lang['error_notloggedin'] = 'Please either login or register before paying for your item(s).';

So I can find the error message and it's location but don't seem to be able to find the template that outputs this message. I've searched through all the Orders, FEU and Cart templates but don't seem to be able to find the output template anywhere.

Anyone got any ideas? Thanks if you can help.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Changing default error messages in Orders Module

Post by Dr.CSS »

Most likely it is in the very top of the template that should be displayed at that time wrapped in an {if error} bla bla bla {/if} line...
Post Reply

Return to “Modules/Add-Ons”