Many users are annoyed by a bar covering the options when posting products in WooCommerce. When scrolling down, the Edit Product bar covers parts like adding media, requiring users to scroll up again. A small code snippet can be added to function.php to manage this issue. The code snippet is: add_action(‘admin_head’, ‘mdsco_reg_style_back’); function mdsco_reg_style_back() { ?> write by english.
How to Hide the "Edit Product" Bar in WooCommerce
Problem:
Not sure from which WooCommerce update, it created something that annoyed many users. When posting a product, enter the content. And scrolling down will cause the Edit Product bar to cover parts like adding media. Having to scroll up again is very tiring.
Solution:
To address this issue, you can add a small code snippet to the function.php file. This snippet will help hide the Edit Product bar, providing a smoother user experience when posting products in WooCommerce.
Code Snippet:
add_action('admin_head', 'mdsco_reg_style_back');
function mdsco_reg_style_back()
{
?>
By implementing this simple workaround, you can ensure that the Edit Product bar no longer obstructs important sections of the product posting interface. This enhancement aims to streamline the product creation process and improve user satisfaction.
If you’ve been struggling with the Edit Product bar covering essential options in WooCommerce, give this code snippet a try and see the difference it makes. Remember to always test changes in a staging environment before applying them to your live site for a seamless transition.