Created
September 16, 2022 07:36
-
-
Save AshlinRejo/6ed643dc435748af274b4397e1866fab to your computer and use it in GitHub Desktop.
Discount rule v2: Fix for displaying applied message on match free shipping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('woocommerce_before_cart', function(){ | |
if(class_exists('\Wdr\App\Controllers\DiscountCalculator')){ | |
\Wdr\App\Controllers\DiscountCalculator::getFreeshippingMethod(); | |
} | |
}, 9); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This included in plugin from v2.5.0