Reply 286935 to: Hide coupon column at checkout

Avatar: Rose Tyler
Rose Tyler
Support staff
May 10, 2021 at 07:32

Hello,

Add the next code in functions.php of your child theme via FTP:

function disable_coupon_field_on_checkout( $enabled ) {
	if ( is_checkout() ) {
		$enabled = false;
	}
	return $enabled;
}
add_filter( 'woocommerce_coupons_enabled', 'disable_coupon_field_on_checkout' );

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.