Inconsistent Error Message Display and Behaviour

  • Posts: 109
  • Thank you received: 5
9 years 4 months ago #178444

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hello, there.

Good evening!

The field validation behaviour and error message display are inconsistent during the checkout process. Sometimes the error is displayed as a popup and the user cannot proceed until the error is corrected (i.e. one error at a time) whilst at other times, the errors are lumped together (and the user is allowed to continue to the next field and/or step) and then, all the errors are displayed together at the Joomla! message area.

Please see the attached images.

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #178486

Hi,

We are currently working on a re-factoring of the checkout for HikaShop 3.0
The new checkout will handle it with more consistency.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
9 years 4 months ago #178842

Thanks, Jerome. Looking forward to it. Please could you let me know when the anticipated release of Version 3.0 is?

Also, in the meantime, please could you let me know how to do the following?

I am including a captcha field for the user to input for login/registration during the checkout process. I have managed to display the captcha and obtain the user input. What I have not been able to do is to check the user input upon the user clicking the login/register button. Please could you tell me where in the code that need to validate this and how to throw up a Joomla user error? A sample code will help greatly.

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
9 years 4 months ago #178906

Hi,

We don't have any date defined for that but I guess we should have it done in 6 months from now.

You want to implement the onUserLogin/onAfterStoreUser trigger of Joomla in a joomla user plugin.
We did the same with our reCaptcha plugin so it should be a good example for you:
www.hikashop.com/support/support/documen...-with-recaptcha.html

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 5
9 years 4 months ago #181248

Thank you, Nicolas. Your reference to the Hikashop recaptcha plugin is a very useful example. I have (finally) managed to display the custom captcha during the Registration of a new user.

Please could you give me an idea of the code that is required to display the captcha during the Login process?

Thanks again.

Take care!

Please Log in or Create an account to join the conversation.

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
9 years 4 months ago #181339

Hi,

For the login it's basically the same as for the registration.
The difference is that you'll want to modify a bit the regex parsing the page to insert your captcha in the login form, and instead of catching the data from the post in the onAfterStoreUser trigger of your plugin, you can catch it in the onUserLogin trigger.

The following user(s) said Thank You: Ed_Hika

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum