Empty prices are exchanged to 0 price for other currencies
-
When I set an empty price for a product it should display an empty string.
Instead, the plugin converts the price for other currencies to zero.
Empty price says that the product cannot be purchased, but when the price is zero it says that the price is free.
In your plugin, you should check if the price is empty (equals to ”) then don’t process anything and just return the value as-is.
The suspicious code line is here:
/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php line 1809Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Empty prices are exchanged to 0 price for other currencies’ is closed to new replies.