Viewing 12 replies - 1 through 12 (of 12 total)
  • /**
    * Remove WooCommerce site visibility badge from the admin bar.
    *
    * @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance, passed by reference.
    */
    function remove_woocommerce_site_visibility_badge( $wp_admin_bar ) {
    $wp_admin_bar->remove_node( 'woocommerce-site-visibility-badge' );
    }
    add_action( 'admin_bar_menu', 'remove_woocommerce_site_visibility_badge', 999 );

    I had the same question. The node to remove is “woocommerce-site-visibility-badge”

    This is really a problem for all of us with staging sites. The “Live” label shows up on both the live version of the site and the staging version. So now I have clients getting upset about not knowing which is which.

    This is really a highly visible spot on the entire website and shouldn’t be presenting misleading information (as many of us have development, staging, etc sites).

    I didn’t have enough time to think how I can make use of this new feature and align it with already available features like password protection feature, coming soon / maintenance site and header, and staging/live migration.

    However, just today I updated my staging (i.e. pulled in a new version from live). I see the WooCommerce label “LIVE” on my staging site now as well.

    Two things I want to leave here:

    1. the label is confusing, you would need an additional tooltip to tell what it actually means for the individual situation which makes it useless
    2. it takes space and is super intrusive in my opinion; why would we make an already bad UI even worse?

    Thread Starter jusemora30

    (@jusemora30)

    Thank you @lhornaday !

    That snippet worked perfect!! that LIVE was very annoying lol

    This new “Live” badge needs to be easily disabled via settings and should have been disabled by default on existing live WooCommerce installations. It’s causing unnecessary confusion for my clients who have had stores up and running for years.

    Such an unprofessional move. Can’t comprehend this was discussed and agreed upon by a team. Remove it asap please

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi Everyone.

    We understand your concern about the “Live” feature appearing on the admin top bar after the recent update. We appreciate the feedback and understand how this can be confusing, especially when working with staging and live sites.

    Currently, there isn’t an in-built option to disable the “LIVE” label. However, you can remove it by adding a specific code snippet shared by @lhornaday or another one found here.

    However, The team is already aware of this issue: https://github.com/woocommerce/woocommerce/issues/51389

    At the time being, we can’t give you an estimate for when the team will look into or fix the issue, as bug reports are prioritized based on a few criteria. Please subscribe to the GitHub issue if you’d like to receive updates.

    We appreciate your patience and understanding as we work to improve your experience with WooCommerce. Thanks!

    Maybe we should not call it a ‘bug report’

    I agree with what someone said – everything becomes unreliable when we must add code snippets here and there for temporary “fixes” of “bugs”or confusing situatons due to not well thought through new features. Weeks or months later this is “solved” and the code snippets stay … very common scenario

    I hope you are able to move up the priority. Subsribed to the github issue.

    Thanks for the information

    It wouldn’t be so much of a problem if it only showed when it would be in maintenance/coming soon mode.

    What makes is so insurmountable stupid that it also ignores the WP_ENVIRONMENT_TYPE when that is set.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Richard van Denderen,

    Thank you for your feedback.

    Our devs are actively monitoring the forums and the GitHub issue page.
    You can learn more about the progress at this link.

    Have a great day!

    @shameemreza
    Is this really your suggestion? I mean, come on..

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.