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

Price special format in shop page grid

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,

I would like to replace this character (between the $ and the price) with space instead of"&nbsp" because it is not supported in my font and show like this:

Question 2:

How can change the format so it shows zeros instead of cents?
For example, I would like the price to look like this:
123,00 instead of 123,71
24,00
instead of 24,74

etc...

Hello

Q1: Try  to add  this code  in functions.php

add_filter('woocs_price_format', function($format, $currency_pos){

$format = '%2$s %1$s';

return $format;

}, 10,2);

Q2: Read this please - https://currency-switcher.com/hook/woocs_raw_woocommerce_price/  AND  https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/

Hi,

Got a little format issue:

While loading, the price HTML markup is correct, but when the page is fully loaded, the markup changes, please check screenshots. Live link in private.

View post on imgur.com

View post on imgur.com

add_filter('woocs_price_format', function($format, $currency_pos){
$format = '<em>%1$s</em><i>%2$s</i>';
return $format;
}, 10,2);

 

Hello

Where  you  added  the  custom  code?

Hi,

I added it as a snippet here:

It looks like this third party snippet plugin doesn't work in ajax mode.

Please  add  the  code  in  functions.php

It worked thank you.

Side question: is there a possibility to switch currency without page reload?

Hello

Welcome;)

Unfortunately there is no such possibility