Error - override cart/show.php

  • Posts: 410
  • Thank you received: 15
5 years 8 months ago #296783

-- HikaShop version -- : 3.5.1

Hello, after override cart/show.php, I get this error:

Uncaught TypeError: Cannot set property 'value' of undefined
    at Object.submitform (hikashop.js?v=351:540)
    at HTMLAnchorElement.onclick (VM7890 cid-4:498)

How can I fix it?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
5 years 8 months ago #296784

Hello,

Without link or further details ; I'm afraid that we cannot know.
I suppose that if you remove your override (after backup it) ; the JS error is gone ?

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: 410
  • Thank you received: 15
5 years 8 months ago #296798

Yes, I've added a small modification for my template. Can I ask you rather not deal with this problem, add a div class covering the whole page, not just the table.

old




new

Attachments:
Last edit: 5 years 8 months ago by neo191987.

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
5 years 8 months ago #296801

Hi,

So what exact change did you make ?

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

  • Posts: 410
  • Thank you received: 15
5 years 8 months ago #296837

Fixed the problem. I put it, id="hikashop_show_cart_form" that should not be there. This ID is for the form and prevents normal work. One learns while alive. :) Now works perfectly.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum