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.
- query rename product_cat temp
- query rename product_tag product_cat
- 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
Post a Comment