overriding file in hikkashop

  • Posts: 5
  • Thank you received: 0
7 years 6 months ago #251081

Hello
I have question about overriding file in hikkashop
From many sites i learn somethink about this but still i cant create properly overide of conttroler.
Exactly what I need is override of front checkout controller.

that is why it needs to answer to:

1). front controler can be overide or need some kind of joomla plugin.
2).What should be the path to overide
3). who schould look class of the override file

Last edit: 7 years 6 months ago by rekinysukcesu.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
7 years 6 months ago #251082

Hi,

The class override system of HikaShop isn't compatible with controllers. So if you want to override a controller, you need to develop a small system plugin for that.
You can for example use what is explained in the summary here:
docs.joomla.org/How_to_override_the_comp...rom_the_Joomla!_core
Or in the Example section with more details here:
www.informit.com/articles/article.aspx?p=1858258&seqNum=8
the only difference from the example is that you want to use components/com_hikashop/controllers/XXX.php instead of libraries/joomla/database/tablenested.php

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

Time to create page: 0.053 seconds
Powered by Kunena Forum