add to basket

  • Posts: 101
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
2 weeks 4 days ago #316419

-- url of the page with the problem -- : www.121time.com
-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.15

Good morning

We use a configurator to create unique watches online that our customer add in the Hikashop shopping cart. Products don’t exist before being created online and we developed a custom module doing the add very well, till the last update (4.2.3)

Until Hikashop 4.1.0 it was working fine. I tried today to upgrade from 4.1.0 to 4.2.3 but impossible to add our customs product to the cart anymore after the update

You will find the helper file making the link attached

All this was made years ago by an specialised IT guy that left now.

May I ask you if you can just open and read our helper file?

Maybe you will find immediately in the code what’s wrong with the new Hika version? I don’t come from the IT world…

Thank you for your help

Jean-Loup

Attachments:

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

  • Posts: 101
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
2 weeks 4 days ago #316420

Could you maybe send me the different versions of Hika between the 4.1.0 and the 4.2.3, to see at which version something is going wrong ?

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

  • Posts: 68452
  • Thank you received: 10203
  • MODERATOR
2 weeks 3 days ago #316425

Hi,

I think that the issue comes from a modification we had to do to the save function of class.product in order to fix an issue with the mass action system in the 4.2.3.
I think you should try to change the line:
$result = $productClass->save($product);
to:
$result = $productClass->fullSave($product);
in that file.
That should hopefully work as before since the fullSave function contains all the code the save function contained before.

The following user(s) said Thank You: jean-loup

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

  • Posts: 101
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
2 weeks 2 days ago #316516

Dear Nicolas

It works at the first try!
You're all still amazing ;-)

Best regards and thanks.

Jean-Loup

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

Time to create page: 0.057 seconds
Powered by Kunena Forum