Jump to content

what does category_description_full does ?


Recommended Posts

Hello,

 

I was playing around with the category.tpl file when i noticed that the following paragraph by default from prestashop is set to display:none

<p id="category_description_full" style="display:none">{$category->description}</p>

In the category page when i inspect element and set the value from the display tag instead of "none" to "block" suddenly the category description is displaying two times.

 

The most interesting part is that when i diagnosis the page with a SEO tool i get a Text/HTML ratio on the page of 21%. After i completely remove that line of code from the category.tpl file and despite the fact that nothing visual is changing i get a Text/HTML ratio on the page of 17%.

 

Does anyone know what in Good its going on?

Is this affecting the page SEO from the search engines point of view? Because if that line of code was recognized by the SEO tool (Seo Quick) the search engines will also recognized it and in that case wee are dealing with duplicated content that harms the site position in search engines.

 

I'm using PS 1.5.1

 

Thanks.

 

Link to comment
Share on other sites

×
×
  • Create New...