Jump to content

How to mass replace html tags in presta products descriptions?


conderus

Recommended Posts

Hi,

I have problem with html products descriptions in my store. The thing is that product’s title in my html products description section is <h1> tag. I did it manually, all these descriptions and didn’t notice that presta by default marks by <h1> tag product title at the top of product’s page. And now I have two <h1> tags at several hundreds pages with products. I am looking for an addon or solution .. maybe I can change it somehow in database directly by some rule? I don’t know.. to mass replace these <h1></h1> tags by for ex. <p></p>. It repeats exactly the same in every product description so it’s shouldn’t be a problem. I don’t want to change this manually…

Thank you

Link to comment
Share on other sites

You can export all your products to a csv file.

Edit the csv and remove the tags. Keep only the product "ID" and "Product Name" columns.

Then, import the file back to your shop (import only column "Product Name") 

IMPORTANT: Make a backup of your shop before doing this!!!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...