Jump to content

Resolved - Changing inventory through MySQL command


mg3ddesign

Recommended Posts

Hi there

I'm trying to change all my products so that they have an updated date, this is so that google can see the site map better and have a date rather than 0000-00-00 00:00:00

I know that all new products have a date but I have over 500 older products that don't. I have tried exporting, changing it in excel then importing but the date is not imported.

Does anyone know how I can bulk change the dates using a MySQL command in the admin section.

Thanks

Link to comment
Share on other sites

I use this query format to make those kinds of changes, but I DO NOT know if there's a better way to do what you want. Be sure to back up your database before trying it.

UPDATE tablename SET tablefield = replace(tablefield,"findstring","replacestring");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...