Changing the default `get_price` method type for WooCommerce
-
Hi,
I couldn’t find a Github repo for this plugin, so posting here.
If the WooCommerce Payment plugin is activated, it is changing the returned value type for
$product->get_price()
method to float instead of a string.The expected return type is a string: https://d.pr/i/11Rzgs
This is what we get without Woo Payments active: https://d.pr/i/xQoMb7
But activating this plugin returns the float value instead: https://d.pr/i/wrWTFX
This may result in unwanted conflicts with other WooCommerce extensions.
Please take actions to resolve this.
Regards
Rafsun
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Changing the default `get_price` method type for WooCommerce’ is closed to new replies.