• Resolved SoN9ne

    (@son9ne)


    How can I remove the annoying nag?

    Connect your store to WooCommerce.com to receive extensions updates and support.

    For a PROD site, I do not care to connect to the store nor do I want automated updates as this is dangerous.

    Yet I am forced to see this nag.

    I know I can do:
    add_filter( 'woocommerce_helper_suppress_admin_notices', '__return_true' );

    But that is a hack at best since it will suppress all admin notices for WooCommerce.

    Seriously, why would you force this nag over something so minor? All nags should have a way to suppress them as a common practice of good principles, the fact this nag is implemented this way is very distasteful and honestly, it cheapens the product.

    Also, this could be considered a violation of WordPress Developer Guidelines:

    Upgrade prompts, notices, alerts, and the like must be limited in scope and used sparingly, be that contextually or only on the plugin’s setting page. Site wide notices or embedded dashboard widgets must be dismissible or self-dismiss when resolved. Error messages and alerts must include information on how to resolve the situation, and remove themselves when completed.

    You could argue or self-dismiss when resolved but given the nature of how to resolve this, dismissible would be the better solution. Do not force users to connect to your site for analytics, there is no gain for me to connect to your store but there are numerous downsides.

    Please implement a way to remove this nag. Given that I am a paying user of WooCommerce, I expect this to be dismissable.

    • This topic was modified 4 years, 6 months ago by SoN9ne.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Rather than using that filter which would suppress all admin notices, you could use the available woocommerce_helper_suppress_connect_notice filter to just hide that notice prompting to connect to WooCommerce.com:

    
    add_filter( 'woocommerce_helper_suppress_connect_notice', '__return_true' );
    

    Also, that prompt should only be displayed when there is at least one installed plugin with WooCommerce headers which would benefit from being connected to enable updates.

    To clarify, the connection does not turn on “automated updates” in the sense that plugins would update on their own (possibly breaking the site if testing has not been done yet). Instead, the connection and activated extension license makes it possible to update WooCommerce.com extensions from the Plugins > Installed Plugins page as you would with other plugins (rather than having to manually download ZIP files and upload via FTP).

    I hope that helps. Have a wonderful day!

    Thread Starter SoN9ne

    (@son9ne)

    THANK YOU!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add support to remove the connect to store nag as it’s not wanted or needed’ is closed to new replies.