phpmyadmin - Woocommerce switch tag to category and category to tag on products -


i need woocommerce in wordpress. have 2000 products in store, each of them has several tags , several categories. unfortunately need switch them , doing manually hell. have found, there might solution via phpmyadmin.

  1. query rename product_cat temp
  2. query rename product_tag product_cat
  3. query rename temp product_tag in wp_term_taxonomy table.

could please me or have more elegant solution? have no knowledge of sql , queries, if simplify step step, able understand neccessary done :)

many thanks

here first query type in sql box via phpmyadmin: alter table wp_term_taxonomy change product_cat temp int(11) not null.

you should able figure out other 2 queries.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -