Quantity redirects to 'product contact page'

  • Posts: 11
  • Thank you received: 1
11 years 5 months ago #78374

Hello Hikari Team,

I have encountered a possible bug or other error.

When I was testing the product page,
I tried to change the quantity value and pressed the Enter-button to comfirm it.

Instead of adding the product to the shoppingcart with the input quantity,
it redirects me to the product contact page.

You can try it out on our website.
www.deurenbergmedia.nl/joomla/index.php/...-belarto-gold-732015

I hope this helps and you can eventualy fix it.

Thanks you.


With kind regards,


Billy Ho
Deurenberg media

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

  • Posts: 26019
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #78399

Hi,

It's not an HikaShop bug.

You have overrided the view and now your "contact" button is a submit button with some javascript input.
When you press the "enter" button, the first "submit subtton" in the form is validate and it is your contact button.

Please change your contact button into a classical button (and not a input submit) in order to fix your problem.

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: deurenberg

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

  • Posts: 11
  • Thank you received: 1
11 years 5 months ago #78439

Problem solved.

The problem seems to be in the view indeed.

Now switching the position of the contact button and the add to cart button isn't a big problem,
But this problem could have been prevented if ths javascript/jquery of the quantity input was targetting a button (input) by id or class though.
You might want to apply this method for the future to prevent this from happening again, it shouldn't be too much work.


Thanks for the hint.

With kind regards,


Billy Ho
Deurenberg media

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

Time to create page: 0.057 seconds
Powered by Kunena Forum