What's New
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Hello,
there is a problem with the mega menu when adding a product, its title is displayed in H3 tag which causes an SEO problem. To be SEO friendly, it’s necessary to have H1 and H2 tags before the H3, which is not currently the case. So I want to replace these H3 products titles of megamenu by a simple <p> tag but I searched everywhere in the module “stmegamenu” and I did not find where to make this change.
Can you help me ?
Thanks !
Hello Yobo,
I’m facing the same problem.
I added product on the mega menu and they have a H3 title and I need a “<p> or <span> title”. But i need it ONLY for the megamenu.
The solution above is not ok : Modify the \themes\MYTHEME\templates\catalog\_partials\miniatures\product.tpl
Because it modifies all the products listings.
How can i achieve that ?
can i put and a condition in the product.tpl ? Like that:
if megamenu
<p>…..</p>
else
<h3>…</h3>
Hope you can help.
Best regards.
Elvis.
Hi,
Please copy the /catalog/_partials/miniatures/product.tpl file to /catalog/_partials/miniatures/product-menu.tpl and change the h3 tag, then modify the \modules\stmegamenu\views\templates\hook\stmegamenu-sub.tpl file and the \modules\stmegamenu\views\templates\hook\stmobilemenu-ul.tpl file, modify the
file="catalog/_partials/miniatures/product.tpl"
to
file="catalog/_partials/miniatures/product-menu.tpl"
Then clear the Smarty cache.
Best regards.
You must be logged in to reply to this topic.