M
M
mihailmosienko2019-11-29 21:23:01
MySQL
mihailmosienko, 2019-11-29 21:23:01

How to enable reviews for all wp+wc products in database?

It is enabled by default when editing a product card.
You need to enable reviews at once for all store products.
Found a solution.
SQL query:
UPDATE `wp_posts` SET comment_status = 'closed'
WHERE `post_type` = 'product'
How to add it specifically (layman at this point)?
Please tell me how to implement it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mihailmosienko, 2019-11-29
@mihailmosienko

And at once in all at once? that's the question.
Although I figured out the same thing in this matter, thanks for your attention.
UPDATE `wp_posts` SET comment_status = 'open'
WHERE `post_type` = 'product'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question