Jump to content

One addon to put custom HTML in head tag AND ALSO in body tag?


Recommended Posts

Is there an addon to insert HTML blocks in the head tag and also in the body?

I need to put js, css and html in the head, but also need to put html blocks in the body hooks.

I haven't found anything like this in the marketplace, just addons that do one or the other; no addon allows you to do both

Edited by Marco Panichi (see edit history)
Link to comment
Share on other sites

  • Marco Panichi changed the title to One addon to put custom HTML in head tag AND ALSO in body tag?

Hi, 

Greetings of the day. 

I have a module marketplace which allows to add custom code in head and body tag of all Or selected products categories cms manufacturers and suppliers pages. 

 

Below is the link

https://addons.prestashop.com/en/2_community-developer?contributor=301729

 

 

Edited by Zohaib-fk
Link added (see edit history)
Link to comment
Share on other sites

24 minutes ago, juanrojas said:

take a look at this module

This module doesn't allow to add HTML to body tag

 

1 minute ago, Zohaib-fk said:

Hi, 

Greetings of the day. 

I have a module marketplace which allows to add custom code in head and body tag of all Or selected products categories cms manufacturers and suppliers pages. 

Where is this module? Can you give me the link?

Link to comment
Share on other sites

5 minutes ago, Zohaib-fk said:

Are you talking about this addon https://addons.prestashop.com/en/seo-natural-search-engine-optimization/41205-custom-html-css-js-on-selected-pages.html ?

I cant add custom HTML to hooks, only add custom HTML at the beginning of the body tag

Or am I wrong?

Link to comment
Share on other sites

Yes, we can add code in the body or head tags on selected pages and languages.

May I know the hook name to add the code? I can easily add-hook from the module and add custom code to hook in the front office.

Prestashop documentation will help to know list hooks and their work.

Edited by Zohaib-fk
Post Updated (see edit history)
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...