Product edit option missing when posting a product in EnglishCode.

Code ẩn Edit Product che mất tùy chọn khi đăng sản phẩm

In newer versions of Woocommerce, there is a new Edit Product bar that appears at the top of the page when editing products. This bar can be annoying as it covers the Add Media button. To fix this issue, you can add a code snippet to the functions.php file in your theme. The code snippet adjusts the positioning of the Edit Product bar to prevent it from covering the Add Media button while scrolling. This solution can help improve the editing experience for Woocommerce users.

"Quốc khánh – 2/9/2022: Review article about hidden code Edit Product covers options when posting products"

Introduction:
In the new version of Woocommerce, there is an issue that many users have encountered. When editing a product, an additional Edit Product bar appears at the top, which can be quite annoying as it covers the Add Media button.

Solution:
To resolve this issue, users can add a simple code snippet to the functions.php file of the theme they are using. The code snippet is as follows:

add_action('admin_head', 'sgd_reg_style_back');
function sgd_reg_style_back(){
   echo '';
}

By adding this code, the Edit Product bar will no longer cover the options when posting products, providing a better user experience for Woocommerce users.

Rate this post
See also  How to post an article on WordPress

Related posts