PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

How can I add an extra hook to a module ?

1 reply to this topic
#1
cerberus22

    PrestaShop Apprentice

  • Members
  • PipPip
  • 279 posts
Hi all,

I am trying to add a module to a new hook I have set up called "catscooters" (as well as the standard hook on the module)

This is the standard module hook code on the module, what do I need to add to this so I can hook onto the "catscooters" hook as well as the standard hook


        function install()
{
if (!parent::install())
return false;
return $this->registerHook('productfooter');
}


All the best,
Cerberus22
Using Prestashop V1.1

#2
Star

    PrestaShop Addict

  • Members
  • PipPipPip
  • 618 posts

From 1246746187:

Hi all,

I am trying to add a module to a new hook I have set up called "catscooters" (as well as the standard hook on the module)

This is the standard module hook code on the module, what do I need to add to this so I can hook onto the "catscooters" hook as well as the standard hook


        function install()
{
if (!parent::install())
return false;
return $this->registerHook('productfooter');
}


All the best,
Cerberus22


Do you still need help on this?

http://www.prestasho...in_6_easy_steps

PM me if you run in to problems