Jump to content

Edit History

Elvinas

Elvinas

So, here's is my custom module that I created. Please see attached.

 

So I have a problem where ModuleFrontController is not accessible it gives me 404 when I try to access it, using this url, that I generated with this code: 

$this->context->link->getModuleLink($this->name, 'ajax');

It returns this url: http://localhost/test/module/recommended_products_custom/ajax

When I visit it, it returns 404, I changed my module's folder name and class and module name, you can see the current structure in the image.

And it is strange. It no longer works, could anyone please tell me if I made a mistake renaming, as I don't see it myself and I really feel like I'm following the right naming conventions.

Any help is really appreciated.

prestashop.PNG

Elvinas

Elvinas

So, here's is my custom module that I created. Please see attached.

 

So I have a problem where ModuleFrontController is not accessible it gives me 404 when I try to access it, using this url, that I generated with this code: 

$this->context->link->getModuleLink($this->name, 'ajax');

It returns this url: http://localhost/test/module/recommended_products_custom/ajax

When I visit it it returns 404, I changed my module's folder name and class and module name, you can see the current structure in the image.

And it is strange it it no longer works, could anyone please tell me if I made a mistake renaming, as I don't see it myself and I really feel like I'm following the right naming conventions.

Any help is really appreciated.

prestashop.PNG

×
×
  • Create New...