WooCommerce conflict
-
Hi.
This plugins causes a conflict with WooCommerce. On the checkout page, when a user is not logged in, it is not possible to review order and pay.Here is a fix for that:
remove_action( 'admin_init', 'jp_rm_menu' ); add_action( 'admin_init', 'jetpack_remove_menu' ); /** * Remove Jetpack from admin menu. * Fix for Jetpack only for admins plugin and WooCommerce conflict. */ function jetpack_remove_menu() { if( class_exists( 'Jetpack' ) && !current_user_can( 'manage_options' ) ) { if( is_admin() && is_user_logged_in() ){ // This removes the page from the menu in the dashboard remove_menu_page( 'jetpack' ); } } }
https://www.ads-software.com/extend/plugins/jetpack-only-for-admins/
- The topic ‘WooCommerce conflict’ is closed to new replies.