Jump to content

Create new hook in PrestaShop - free module


Recommended Posts

Module to create new hooks

With this free module you can easily create new hooks in PrestaShop

addon gives you possibility to manage the hooks available in your shop

it's a great way to build new features and move modules to positions that are unavailable by default


hooks-manager-prestashop.png

 

 

 

module installation & configuration video

check how easily you can create new hooks in your shop and how to manage already created hooks that are available in your online store based on PrestaShop engine.

 

  • Like 5

Share this post


Link to post
Share on other sites

Many thanks vekia !

 

Great free module.

 

Friendly

 

thank you for kind words

i will continue to release articles related to this module (i developed it for this purpose)

for example like this one: move block cart to the top - i will write more things where i will use this free module to build new features etc :-)

Share this post


Link to post
Share on other sites
  • 2 months later...
  • 1 month later...
  • 4 months later...

Hi Vekia, 

 

Good Day. :)

 

FYI, I sent a message to your site. Please see message below for your reference.

(This is charlesthenewb a member from prestashop, I was asking regarding this topic https://www.prestashop.com/forums/user/1231497-charlesthenewb/. Which you said to look at the sample in your site. I checked your site, and I was trying to do this sample first which is this one https://mypresta.eu/en/art/developer/block-cart-in-top-menu.html

before doing my concern inside the forums. I can't find this on my blockcart main module folder ("As you probably noticed block cart module uses new template file "blockcart-menu.tpl""). Actually i am stuck here, this is the site link on your site https://mypresta.eu/en/art/developer/block-cart-in-top-menu.html. Also can i ask, can i also use this for quicksearchblock. In other words putting the quick search block inside the block top menu as well?)

 

Thanks. :)

 

Regards

 

charlesthenewb

Share this post


Link to post
Share on other sites

Hi Vekia, 

 

Good Day. :)

 

FYI, I sent a message to your site. Please see message below for your reference.

(This is charlesthenewb a member from prestashop, I was asking regarding this topic https://www.prestashop.com/forums/user/1231497-charlesthenewb/. Which you said to look at the sample in your site. I checked your site, and I was trying to do this sample first which is this one https://mypresta.eu/en/art/developer/block-cart-in-top-menu.html

before doing my concern inside the forums. I can't find this on my blockcart main module folder ("As you probably noticed block cart module uses new template file "blockcart-menu.tpl""). Actually i am stuck here, this is the site link on your site https://mypresta.eu/en/art/developer/block-cart-in-top-menu.html. Also can i ask, can i also use this for quicksearchblock. In other words putting the quick search block inside the block top menu as well?)

 

Thanks. :)

 

Regards

 

charlesthenewb

 

 

 

hello

Save changes to this file. Now our block cart module is ready to support hook that we created inside block top menu module. As you probably noticed block cart module uses new template file "blockcart-menu.tpl". Create it inside module directory with these contents:
 
...

Share this post


Link to post
Share on other sites

Hi Sir Vekia,

 

Good Day. :)

 

It worked thank your very much here is the output post-1231497-0-19080700-1463221503_thumb.png, I have a question can you help me also put the quick search block also inside the block top menu as well?

 

Thanks.

 

Regards

 

charlesthenewb

Share this post


Link to post
Share on other sites
  • 5 weeks later...

Hi Vekia,

 

Good Day. :)

 

Can your help me do the same as what you have posted in the link below, please? I tried to put the cart module inside the top horizontal menu and it worked, The only thing i want to do is put the quick search box as well inside the top horizontal menu and positioned it to the center while the cart module should be position on the right side. Also how do you resize the cart its length, width and height by the way?  :)

 

https://www.prestashop.com/forums/topic/445150-how-to-usemove-quick-search-box-module-into-top-horizontal-menu-bar/

post-1231497-0-98669000-1465743278_thumb.png

 

Thanks. :)

 

Regards

 

charlesthenewb

post-1231497-0-98669000-1465743278_thumb.png

Edited by charlesthenewb (see edit history)

Share this post


Link to post
Share on other sites

Hi Vekia,

 

Good Day

 

Yup the hook works properly, i definitely recommend it to others. But I didnt try doing the quick search module yet, because their might be changes on the codes as well, which i dont have any clue or idea on doing it. Maybe you coukd help me do it?

 

Thanks

 

Regards

 

charkesthenewb

Share this post


Link to post
Share on other sites
  • 3 months later...

Hi,

 

Thanx for the Free hook manager and clear tutorial, that was auwsome! :)

 

However, the chart is still not visilble in the horizontal menu. Must be something with the theme I guess?!

 

On forehand the chart was also not visible in the topmenu

Share this post


Link to post
Share on other sites
  • 1 month later...

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More