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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -