WooCommerce: Custom code
Provided below is a code that can be added to accomplish different solutions for WooCommerce.
Remove the WooCommerce meta box
Add this code snippet to your theme's functions.php file or a code snippets plugin.
<?php add_action( 'groundhogg/admin/contacts/register_info_cards', function ( \Groundhogg\Admin\Contacts\Info_Cards $cards ) { if ( isset( $cards::$info_cards['woocommerce-info-card'] ) ){ $cards::$info_cards['woocommerce-info-card']['capability'] = 'manage_woocommerce'; } } );