We just released a new version of the plugin that includes a hook to make this possible.
To get the update:
- Log into your WordPress Admin area.
- Click on Plugins -> Installed plugins.
- Scroll down to “Black Friday and Cyber Monday for WooCommerce” and click “Check for updates.”
- The page will refresh, then scroll back down and click on “Update.”
After upgrading, follow the instructions in our guide for rounding prices:
https://www.pimwick.com/pw-faq/rounding-prices/
For reference, here is the code that can be added to your functions.php file or via the Code Snippets plugin:
function custom_pwbf_discounted_price( $price, $deal ) {
if ( $deal->deal_type == 'percentage' ) {
$price = round( $price / 0.05 ) * 0.05;
}
return $price;
}
add_filter( 'pwbf_discounted_price', 'custom_pwbf_discounted_price', 10, 2 );