Checkout alert div missing class
8 years 9 months ago - 8 years 9 months ago #288598
by kyratn
Checkout alert div missing class was created by kyratn
Hi,
I am not sure is this joomla related or hikashop but in the checkout when registering and wrong email entered alert class is missing so no alert styling for it.
As example using registration simplified:
As you can see second alert is missing "warning" after line.
Could you please fix it.
Thanks
I am not sure is this joomla related or hikashop but in the checkout when registering and wrong email entered alert class is missing so no alert styling for it.
As example using registration simplified:
Code:
<div class="alert alert- alert-block"><button type="button" class="close" data-dismiss="alert">×</button><p>This email address is already registered.</p></div>
As you can see second alert is missing "warning" after line.
Could you please fix it.
Thanks
Last edit: 8 years 9 months ago by kyratn.
Please Log in or Create an account to join the conversation.
8 years 9 months ago - 8 years 9 months ago #288614
by nicolas
Replied by nicolas on topic Checkout alert div missing class
Hi,
The error messages are displayed by Joomla/your template.
Check again with the default template of Joomla. If you don't have the issue then, contact your template provider.
Otherwise, as this error message doesn't come from HikaShop, but directly from Joomla, you might need to change something in Joomla.
The error messages are displayed by Joomla/your template.
Check again with the default template of Joomla. If you don't have the issue then, contact your template provider.
Otherwise, as this error message doesn't come from HikaShop, but directly from Joomla, you might need to change something in Joomla.
Last edit: 8 years 9 months ago by nicolas.
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288629
by kyratn
Replied by kyratn on topic Checkout alert div missing class
Hi,
I see same issue with default protostar template. In" show_block_login" file I see this:
and for login messages are showing fine, they displayed like this:
but for registration or guest the "alert-warning" class is missing.
I have checked Joomla from where this message comes and all seems fine. I also have tried to register via joomla registration and error was showing fine. Except that different language string was in use.
Is there anything more could be checked?
Seems that type of error message is not defined.
Thanks
I see same issue with default protostar template. In" show_block_login" file I see this:
Code:
$this->checkoutHelper->displayMessages('login');
and for login messages are showing fine, they displayed like this:
Code:
<div class="alert alert-warning alert-block"><button type="button" class="close" data-dismiss="alert">×</button><p>Username and password do not match or you do not have an account yet.</p></div>
but for registration or guest the "alert-warning" class is missing.
I have checked Joomla from where this message comes and all seems fine. I also have tried to register via joomla registration and error was showing fine. Except that different language string was in use.
Is there anything more could be checked?
Seems that type of error message is not defined.
Thanks
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288634
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout alert div missing class
Hello,
There is no translation for "This email address is already registered." so we can't know if you had perform a translation override or if it's just not coming from HikaShop.
Regards,
There is no translation for "This email address is already registered." so we can't know if you had perform a translation override or if it's just not coming from HikaShop.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288662
by kyratn
Replied by kyratn on topic Checkout alert div missing class
Hi,
Are you sure that there is no such translation? You have same translation and same issue with missing class "alert-warning" on hikashop site during checkout. Please check my screenshot attached.
However if you are not willing to check it then we can just close this topic.
Kind Regards
Are you sure that there is no such translation? You have same translation and same issue with missing class "alert-warning" on hikashop site during checkout. Please check my screenshot attached.
However if you are not willing to check it then we can just close this topic.
Kind Regards
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288685
by nicolas
Replied by nicolas on topic Checkout alert div missing class
Hi,
We are sure that there is no such error message in HikaShop. You can check it yourself in the translation file of HikaShop or even in the whole code of HikaShop.
As I said, that error message comes from Joomla.
However, I had another look and we do have a similar message (albeit the wording is different). So maybe you didn't provide the exact text ?
Looking at its code, if it comes from it, try changing the line:
to:
in the file administrator/components/com_hikashop/class.user.php
Let us know how it goes.
We are sure that there is no such error message in HikaShop. You can check it yourself in the translation file of HikaShop or even in the whole code of HikaShop.
As I said, that error message comes from Joomla.
However, I had another look and we do have a similar message (albeit the wording is different). So maybe you didn't provide the exact text ?
Looking at its code, if it comes from it, try changing the line:
Code:
$ret['messages'][] = array(JText::_('EMAIL_ADDRESS_ALREADY_USED'), '');
Code:
$ret['messages'][] = array(JText::_('EMAIL_ADDRESS_ALREADY_USED'), 'warning');
Let us know how it goes.
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288733
by kyratn
Replied by kyratn on topic Checkout alert div missing class
Hi,
Thanks for looking into it. Unfortunately it made no difference. Yes, this meesage comes from Joomla. I just thought maybe hikashop define the error class somewhere.
Anyway. Thanks again fro looking into it and have a great day.
Thanks for looking into it. Unfortunately it made no difference. Yes, this meesage comes from Joomla. I just thought maybe hikashop define the error class somewhere.
Anyway. Thanks again fro looking into it and have a great day.
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds