Dynamic Pricing for WooCommerce

Bulk discounts, role-based pricing and much more

Fatal error simple-membership.php:392

Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/staging.kingnature.ch/public_html/content/plugins/woocommerce-dynamic-pricing/classes/modules/class-wc-dynamic-pricing-simple-membership.php:392

Fix

$fixed_price = round( $amount, (int) $num_decimals );

to

$fixed_price = round( (float) $amount, (int) $num_decimals );

Author

kingnature77

Current Status

Open

Last updated: December 1, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.