change javascript error alerts to notifications

  • Posts: 14
  • Thank you received: 0
11 years 8 months ago #90757

Hi there,
I use the option "no registration" for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with <jdoc:include type="message" /> instead of a ugly popup?

Thanks in advance

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 8 months ago #90891

Hi,

It would not be possible to add the Joomla message system in Javascript because the page is not reloaded.
But, you can access to the javascript code in the hikashop.js file and change the way that the alert is made, with a less intrusive popup system maybe.

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.
The following user(s) said Thank You: natanjarorije

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

  • Posts: 14
  • Thank you received: 0
11 years 8 months ago #90960

oke thank you!

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

Time to create page: 0.037 seconds
Powered by Kunena Forum