PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Fixed price doesn't seem to be fixed

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

Sometimes I need to show fixed prices (I don't want to make any conversions just take the provided values and show the value to the user based on their selected currency). From what I found in the docs, this can be achieved with the following shortcode:

[wpcs_price type="fixed" value="USD:15,EUR:20,GBP:45"]
By providing the type attribute as"fixed" and the value for all different currencies. However, it converts the values. For example when I chose the EUR in the currency dropdown 20 gets converted to 18,66.
I don't know if I'm missing something.
Thank you.

Hello

try in file - wp-content\plugins\currency-switcher\index.php -  change this code - https://share.pluginus.net/image/i20240430123913.png

return $this->price_html(isset($fixed_values[$this->current_currency]) ? $fixed_values[$this->current_currency] : 'none', array('amount' => $value, 'as_is' => true, 'fixed_values' => $fixed_values));

Hi Pablo,

Thank you for your response. It works.

Should we expect this to be fixed in the next update ?

this will be included in the new version of the plugin