Last active
January 16, 2024 06:42
-
-
Save PluginRepublicSupport/95e68e292a0c2c9a43a07dcb41e791bb to your computer and use it in GitHub Desktop.
Allow decimals in the min/max total tier fields for Order Total and Discount on Spend rules in WooCommerce Fees and Discounts plugin
This file contains 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
<?php | |
add_filter( 'wcfad_tier_min_step', function( $step ) { return '0.01'; }); | |
add_filter( 'wcfad_tier_max_step', function( $step ) { return '0.01'; }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment