J-BusinessDirectory - Hide decimals on the package price

Support Forum

 
 

 

Is it possible to remove the decimals for the package price? I have tried to do this for the package price but it automaticly put ,00 on the price. Please advice. 

9 replies

I reported this too and hope they will fix this issue in next update

Hi, for those little things I just use the Regular Labs ReReplacer. All you have to do is to check after Update that the replacement still works. You just need to replace in the plugin

<p class="jpackage-price-text">90,00 EUR</p>

by

<p class="jpackage-price-text">90 EUR</p>

The same with your other question for the order menu. Add to the html replacement a style="display: none;" . I know this ist not the optimal solution but as I said for little modifications till next update it helps fast and easy. If you want the replacement just on special pages, you need to order the Pro Version.

Hi,

 

We will add a new setting in 5.4.0 version to limit the number of decimals.

Hi Susann,

Thank you for this suggestion. I have never used Labs ReReplacer so i will have to figure out what this is :) 

But from what you are describing, this means i dont have to edit the source php files?

Yes that's right, it just changes the HTML Output. It will not slow down your site if you use it just with a few replacements. In my eyes it's one of the best extensions you can get for Joomla. Even the free version can help you with little modifications. Just don't overdo it ;-)

Omg :-D I have tested this app and its perfect for my use! Thank you so much Susann the lifesaver :) 

I'm happy :-) Don't forget to check the replacements after Joomla and JBD updates. This is done within a few minutes. Stay healthy.

Ok hope this will be done its not fixed yet for the 5.40 beta. hmm

 

"Hi,

 

We will add a new setting in 5.4.0 version to limit the number of decimals."

Hi,

 

The change has been postponed for version 5.4.1 that will be released next week.

 
 
 

10 Item(s)

Show per page