Jump to content
Bonjovi67

H2 tag on productpages

Recommended Posts

Hello,

My SEO company has pointed out to me that our Prestashop 1.6.1.17 has H2 tags around the 'Write a review' on every product page.

This should not be good for the SEO.

The shop has the default bootstrap theme.

Anyone who know how to remove the H2 tags from the 'Write a review'  text on the product pages ?

In the product pages html code it looks like this:

 

<form id="id_new_comment_form" action="#"><h2 class="page-subheading"> Write a review</h2><div class="row"><div class="product clearfix col-xs-12 col-sm-6">

Share this post


Link to post
Share on other sites

Hello,

 

Just edit this part: <h2 class="page-subheading"> Write a review</h2> to <p class="page-subheading"> Write a review</p>

then it's just a paragraph

Share this post


Link to post
Share on other sites

I am not sure if you can find that code in a review module or just in the product.tpl file. But if it's in the product.tpl file: public_html/themes/default-bootstrap/product.tpl

Edited by marketyellow3 (see edit history)

Share this post


Link to post
Share on other sites

I found it in /themes/default-bootstrap/modules/productcomments/productcomments.tpl

Changed

            <h2 class="page-subheading">
                {l s='Write a review' mod='productcomments'}
            </h2>

To

            <p class="page-subheading">
                {l s='Write a review' mod='productcomments'}
            </p>

And it seems to work

Share this post


Link to post
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...

Important Information

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