Jump to content

[TUTORIAL] How to (finally) override Prestashop Modules’ core files


Recommended Posts

  • 1 month later...
  • 2 months later...

Can't get this to work with blocklayered :unsure:

I want to tweak the title output this way https://www.prestashop.com/forums/topic/392632-page-title-coming-in-the-category-heading-after-selecting-a-layed-in-layered-navigation-module/?do=findComment&comment=1917643

 

I'm trying to override ajaxcall() within 'blocklayered.php':

if (!defined('_CAN_LOAD_FILES_'))
    exit;

class BlockLayeredOverride extends BlockLayered
{
    
    public function ajaxCall(){ ...
Edited by javierllinas (see edit history)
Link to comment
Share on other sites

http://nemops.com/override-prestashop-modules-core/#.VLze2EejOr0

 

Quote from website:

 

Since this silence towards the community is getting pretty annoying, I hope the Prestashop team will soon try to have more consideration for the user and developers base, informing us when such a new feature is released. Just a small code snippet for them:

2
if($prestashop - $community)
    die();

 

I think they heard you :)

 

Probably many developers still don't know about it as the introduction was a little "silent":

 

http://build.prestashop.com/

http://build.prestashop.com/howtos/module/how-to-override-modules/

Edited by innovacy (see edit history)
  • 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...