Auction History Amount - Decimal place? Round up?

  • Posts: 30
  • Thank you received: 0
3 years 5 months ago #325824

Hi there,
1. Can we add the decimal place in the Auction History Amount column?
2. If not, is there a way to round down (instead of round up)?
3. Or can we set to bid by a minimum dollar amount. So no decimal places required?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
3 years 5 months ago #325843

Hello,

Can you give us more information about what you want to change and how through some screenshots for example, so that we can totally understand it ? Thank you.

Kind regards,
Mohamed.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
3 years 5 months ago #325866

The issue:
If current bid is 54, Minimum bid box shows: "Minimum bid 54".
If I put in 55.5, it will round up to 56 & display as such in Auction History.

I have realised the cause of this.
In currency, International fractional digits was set to 0.
Once it is set to 2, the decimals appear.

So the question is:
Is it possible to remove the decimals & have the system round down instead of round up?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
3 years 5 months ago #325939

Hello,

When I test it, the price isn't rounded, HikaAuction actually use HikaShop currency functions so can you show us how you configured your currency via "Hikashop->System->Currencies" through some screenshots so that I can directly test it on my end ? Thank you.

Kind regards,
Mohamed.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
3 years 5 months ago #325964

To make things simple...
Is it possible NOT to allow decimal bidding?
So no decimal places at all.
User should not be allowed to key in decimal place.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
3 years 5 months ago #326002

Hello,

There's actually no option to achieve that for the moment (we can eventually add it on our TODO list), so the best solution will probably be to directly edit the code of the "bid" function of the file : "\components\com_hikaauction\controllers\product.php"

Kind regards,
Mohamed.

The following user(s) said Thank You: bumbies

Please Log in or Create an account to join the conversation.

Moderators: Mohamed Thelji
Time to create page: 0.074 seconds
Powered by Kunena Forum