Here is a little code to help get you started. You can add it to your theme, or use Code Snippets plugin to add it for the frontend. It should work, but you’ll definitely want to test and double-check it.
function show_wrap_only_for_Portugal () {
if ( ! defined( 'WC_VERSION' ) || ! is_checkout() ) return;
$country = WC()->session->get('customer')['shipping_country'];
if ( empty( $country ) ){
$country = WC()->session->get('customer')['billing_country'];
}
if ( empty( $country ) ) return;
if ( $country == 'PT' ) return; // PORTUGAL gets wrapping
// Removes wrapping for checkout (not cart) page for all OTHER countries
remove_action( 'woocommerce_before_checkout_form', array( WC_Gift_Wrap()->wrapping, 'before_checkout_form' ) );
remove_action( 'woocommerce_after_checkout_form', array( WC_Gift_Wrap()->wrapping, 'after_checkout_form' ) );
}
add_action( 'wp', 'show_wrap_only_for_Portugal', 50 );
Anything more complex than this, such as also dealing with the cart, and you’ll need to consult your developer.