Changing default error messages in Orders Module
Posted: Mon Mar 24, 2014 12:05 pm
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.
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.