By default, the amount value in each tier is to two decimal places. You can adjust this using the wcfad_tier_amount_step
filter:
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 | |
/** | |
* Filter the step value for the tier amount | |
*/ | |
function prefix_tier_amount_step( $step ) { | |
return '0.001'; | |
} | |
add_filter( 'wcfad_tier_amount_step', 'prefix_tier_amount_step' ); |
Here’s how to add the snippet.