Remove decimals on mobile
-
I followed the instructions below to remove the decimal places from the prices.
1. Open your theme’s functions.php file
2. Add the following code to the bottom of this file,function customize_acadp_currency_decimal_count ($ decimals) {
return 0;
}
add_filter (‘acadp_currency_decimal_count’, ‘customize_acadp_currency_decimal_count’);on PC it works fine. but on mobile, the decimals appear on the prices. how to delete them on mobile.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove decimals on mobile’ is closed to new replies.