CartFlows: How to hide pre-applied coupon notice?

CartFlows Pro has one solid feature, which is a pre-applied coupon. It gives you the ability to add a coupon when any visitor visits the checkout page. It shows the coupon applied notice as well.

cartflows-hide-pre-applied-coupon-notice

Well, sometimes you want to hide that notice. So, here is a small snippet which will solve your problem. CartFlows has a filter to hide pre-applied coupon notice. Add the below mention filter in your child theme and you are done. Cheers.

/**
 * @snippet       CartFlows - How to hide pre-applied coupon notice?
 * @author        Sandesh Jangam
 * @donate $7     https://www.paypal.me/SandeshJangam/7
 */
 
add_filter( 'cartflows_show_applied_coupon_message', '__return_false' );

Leave a Comment

Your email address will not be published. Required fields are marked *