PrestaShop 1.7 SEO: Mastering Heading Structure in Classic Theme Product Miniatures
This community insight addresses a common SEO concern for PrestaShop 1.7 store owners using the Classic theme: inconsistent and semantically incorrect heading tags ( The discussion clarified crucial aspects: The original poster, dagmara j, observed that product titles in the Classic theme's product miniatures displayed inconsistent heading tags. On the homepage, they appeared as The user proposed modifying the Original structure (example): Proposed modification: Community experts confirmed this approach is valid and safe. The styling in the Classic theme is primarily driven by the CSS class The modification primarily needs to be applied in Other related files like This thread provides a clear, actionable solution for a specific technical SEO concern in PrestaShop, demonstrating the power of community collaboration in refining e-commerce store optimizations. and ) for product titles within product miniature listings. A user identified that product titles were rendered as on the homepage but on other pages, disrupting the page's semantic hierarchy. The proposed solution involved replacing these heading tags with
or tag selectors for product titles in the Classic theme; styling and functionality are tied to CSS classes (e.g., .h3.product-title).themes/mon-theme/templates/catalog/_partials/miniatures/product.tpl. It was also confirmed that this single modification effectively covers product listings across the homepage (including the "Featured Products" module), new products, best sellers, and category pages, as these modules typically include product.tpl.The Problem
, but on category and other listing pages, they became . This led to an abundance of tags, potentially diluting the semantic value of primary page headings. For instance, a category page's main title might be , followed by product titles as , which is acceptable, but if other content also uses , the hierarchy can become messy.Proposed Solution & Community Validation
product.tpl file to replace the dynamic or tags with a generic class="h3 product-title" attribute.
h3 product-title, not the semantic or tag itself. This means replacing the tag with a Scope of Modification
themes/mon-theme/templates/catalog/_partials/miniatures/product.tpl. This file is widely included across various product listing contexts in the Classic theme, including:
product.tpl)pack-product.tpl, brand.tpl, and category.tpl were confirmed not to contain relevant heading tags for product miniatures, simplifying the modification process to a single file.Key Takeaways for PrestaShop Merchants and Developers
Start with the tools
Explore migration tools
See options, compare methods, and pick the path that fits your store.