Jump to content

Edit render product list


christopher91

Recommended Posts

Hello, I am developing a module under Prestashop 1.7.7.1 and I am looking for a modified html rendering of the list of my products. I would like to add blocks of ads between products using my module. I block on the method used to avoid overriding the controllers in all directions. I had initially thought of using the "actionProductSearchAfter" hook but the concern is that my template will necessarily be different from the product template. Here is the result table that I have:

 

image.png.601e10a2e3c17b45cad80407b7cff19c.png

 

ClassBloc correspond to my ad.

 

Do you have any idea how I can call a tpl which is in my module for my ads and inject into the tpl from the product list?

Thank you for your help.

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