Jump to content

[SOLVED] this->error on Category page


Recommended Posts

Hi,

I've a problem with the error function.

if i use $this->error[]= Tools::displayerror(.....) on product page i see the fancybox popup (CORRECT).

But, if i use $this->error[]= Tools::displayerror(.....) on category page i see a message from browser with the error(WRONG.

I use $this->error[] on processChangeProductIncart().

How i can see the fancybox error on the Category page?

Thanks,

Best regards.

 

Roberto

Edited by bart46 (see edit history)
Link to comment
Share on other sites

Quickly comparing the files, there is a line that explicitly adds the fancybox jquery plugin to the product controller:

 

(File controllers/adminAdminProductsController.php):

    $this->addJqueryPlugin(array('autocomplete', 'fancybox', 'typewatch'));
 
Maybe try to add something similar to the Categories controller and see if that is sufficient:
(File controllers/admin/AdmnCategoriesController.php)
 
 
My 2 cents,
pascal
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...