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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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