• Resolved digestsua

    (@digestsua)


    Hello,
    I need to manually set all out of stock products comments to off by a simple sql query.
    Could you help me to do this?

    UPDATE wp_posts SET comment_status = ‘close’ WHERE post_type = ‘product’ AND …

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @digestsua!

    Since this requires custom coding, which is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For additional assistance on this topic, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page; they can help you with the code you need.

    Also, if you are into coding, you can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack, you could find help from the community of open-source developers for WooCommerce that hangs in there.

    Cheers!

    Hi there,

    We haven’t heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, the provided information was helpful, and you solved the issue. If you have any further questions, we recommend creating a new thread.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Turn reviews off for out of stock sql’ is closed to new replies.