displayProduct and displayProductButtons hooks in html box pro module

Hello,
I have seen your prestashop html box pro, i need to know if i can hook this module on all displayProduct hook (also displayProductButton) I need to attached a youtube box in this place. Is it possible?
Thank you so much, 

PrestaShop expert answer about usage of html box module in dispalyProduct and dispalyProductButtons hooks

Hello,
I confirm that you can use html box module in all available hooks in your shop.

Module has predefined list of hooks (most frequently used hooks in prestashop). If some hook does not exist on predefined list of hooks you can use form to "add support of hook" where you can just add new hooks to predefined list of hooks. You will be able to create contents in these hooks then. It is great feature especially if your theme use some non-default hooks :)

regarding to your question about  'displayProduct' and 'displayProductButton' hooks.

  1. 'displayProduct' - it is not default hook, it is not available by default in prestashop. So in this case you will need to use 'add support of hook' feature as i show on the video:
    https://drive.google.com/uc?id=1fvZFn2QUgevR0AJsBK4CF4WN1WlOe0-9 - once you will add the hook to the list - you will be able to build your contents there :)
  2. 'displayProductButton' - you probably reffer to 'displayProductButtons' (with 's' at the end) - it is a default hook in prestashop and module has it on predefined list of hooks.
    screenshot for reference:



best regards,
milos
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment