plg_mvcoverride icon indicating copy to clipboard operation
plg_mvcoverride copied to clipboard

Joomla 3.4 - Overriding a Hikashop Controller

Open joomlabeat opened this issue 9 years ago • 2 comments

Hello,

whatever I tried I was not able to make a successful override.

I am trying to override checkoutController of Hikashop. Now I am getting "Fatal error: Class 'hikashopController' not found in ../plugins/system/mvcoverride/mvcoverride.php(131) : eval()'d code on line 11"

Any thoughts?

joomlabeat avatar Mar 16 '15 22:03 joomlabeat

It will not work with plugins I think

ghost avatar Mar 17 '15 06:03 ghost

Hi,

class checkoutController extends hikashopController 

in /front/controllers/checkout.php extends a hikashop class. This hikashop class is defined in : /back/helpers/helper.php See : class hikashopController, line +- 1216

This plugin relies on Joomla core defined classes.

So, I am afraid your goal is a "no can do" with mvcoverride. Sorry. BTW : a new version of Hikashop (v2.4.0) was released today.

ghazal avatar Mar 17 '15 09:03 ghazal