Error - override cart/show.php

  • Posts: 427
  • Thank you received: 19
6 years 3 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: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 3 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: 427
  • Thank you received: 19
6 years 3 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: 6 years 3 months ago by neo191987.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 3 months ago #296801

Hi,

So what exact change did you make ?

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

  • Posts: 427
  • Thank you received: 19
6 years 3 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.073 seconds
Powered by Kunena Forum