peter750 Posted February 12, 2017 Share Posted February 12, 2017 (edited) Hi all, I got something strange and can't get is solved. In the attached picture you can see that you can see with the MOZ tool for the homepage the H1 tag is not filled and for H2 shopping cart information So two questions, first how can I add the meta data to the home page for the H1 tag? And second question the H2 tag is on every page filled with "Product successfully added to your shopping cart • There are 0 items in your cart. There is 1 item in your cart." How can I find why or how the H2 tag is filled with cart info? Edited February 12, 2017 by peter750 (see edit history) Link to comment Share on other sites More sharing options...
Geo Burlibasa Posted February 12, 2017 Share Posted February 12, 2017 The H2 is that because of the "blockcart" module. You shall edit it's TPLs if you want to change the h2 to something else.For H1, I suggest using the "Home text editor" or "Theme configurator" (both modules) to fill your data. 1 Link to comment Share on other sites More sharing options...
peter750 Posted February 14, 2017 Author Share Posted February 14, 2017 How can you set the H2 tag to product title or description? Link to comment Share on other sites More sharing options...
Geo Burlibasa Posted February 14, 2017 Share Posted February 14, 2017 By editing the TPL files in the theme. Usually "product-list.tpl" or "product-list-item.tpl" (depending on your theme) for category, manufacturer, supplier, best sales, new products etc. pages, and "product.tpl" for product's page. Note: The product page has the H1 set to product's title. (in theme default-bootstrap) 1 Link to comment Share on other sites More sharing options...
12pulgadasbcn Posted February 19, 2020 Share Posted February 19, 2020 Hi @Geo Burlibasa I want to change the H1 tag for the Home page, currently it loads some sort of automatic list of product names that don't look good. I don't know in which file and path I should change it (I searched in header.tpl, head.tpl, index.tpl and page.tpl). "Home text editor" module is no longer available in Prestashop 1.7. I have Prestashop version 1.7.6, theme: At Movic by Leo Feature. Help? Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now