Adding new hooks to Prestashop isn't exactly something everybody can do, since it involves dealing with the database and knowing a lot of php.

Until Now

The Ez Hook module will allow everybody, even non-techies, to add new hooks to their shops pretty easily. You'll only have to give the hook a name, a title, a description, and click add. Then, copy and paste a couple of code snippets generated by the module, and enjoy your new hooks.

... Hey wait, isn't the module supposed to do all the wet wok for me? Yes, if you don't feel comfortable in editing controllers and php files, the module will generate a FrontController.php override for youwith all the necessary variable assigned.

Features

Add new hooks in a couple of clicks!

PHP snippets automatically generated to help you use the hooks

You wil never-ever have to mess with the database

FrontController override generator for who knows less about PHP

HUGE time saver for developers

A quick note: The generator should only be used if all of your custom hooks are for the Front Office. use single code snippets if you're adding back Office Hooks.

No demo? Nop,e due to the nature of the module, it's hard to create a demo for that; you can watch the video instead.

Compatibility: Prestashop 1.4.1+, 1.5.x, 1.6

Core Modifications: No

Overrides: No

Languages: English

Multistore support: No

Module Version: 1.0

No customer comments for the moment.

Write your review

EZ Hook

Add new hooks to Prestashop in a couple of clicks. You will only have to add a hook name, title and description, copy and paste a couple of code snippets generated by the module, and enjoy your brand new custom hooks.

Asked by Mary Can you limit the hook to a category. I have a number of specifically named custom html modules and I have been trying to show them on specific category pages but it is not working using the "if $page_name == page name" tag and so I am wanting to know if I use this module can I limit the hooks to be loaded on a specific page or a category page along with it's sub-category pagesAnswer:
Yes, you can. You can place the generated code in the CategoryController.php, so that the hook only executes in category pages, and then, if you want to output the code, you paste the output code in the category.tpl page. of course, you will need further coding in your module if you want to target specific category IDs.

Asked by Kamil Fronek Hi,
in Prestashop 1.5.3 are different codes used than Your module generate. Please test it and update Your module.
Best Regards!
Kamil FronekAnswer:
I just tested it and seems to be working for me. It's true the displayHeader function is deprecated in 1.5, but I'm willing to keep it for a while, till I decide to drop compatibility for 1.4.

Asked by Francesco HI! Can I use this module to add a hook in cms pages to show slideshows and other stuff?
Let me know and i'm going to buy it! Thank YouAnswer:
Hi,
Yes, with this module you can add hooks wherever you want without limitations

Asked by caesar I wan to use this module to create a hook with fixed position.
what I want to do is to have the top navigation menu show always when the costumers scroll down?
will this module help me? Answer:
Hi,
No, this module doesn't do anything about javascript or css, it only adds new hooks to the store. You'll need extra coding for that

You like the module, but think it is still missing something? Submit a feature request! The most requested ones will be added to it!

Before adding a new feature request, check if it's already in the list, and eventually pull for that, instead.

Feature Description:

Notify me:

E-mail: *

*(Required to be notified when the feature will be implemented. Make sure you tick the box above!)