Author Topic: Rounding price custom fields problem after update to Joomla 2.5.16  (Read 10766 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27427
  • Always on vacation
    • Jenkin Hill Internet
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #30 on: November 13, 2013, 23:36:48 pm »
Maybe a delay as I think I have found another bug.....
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8

jurajvt

  • Beginner
  • *
  • Posts: 21
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #31 on: November 14, 2013, 00:07:24 am »
I have the same problem.
Virtuemart 2.0.24 and Joomla  2.5.16
I need to add eco tax for a French webshop but € 0,12 is rounded to € 0.
To be shure i tested it with € 0,90 and this is rounded to € 1
Really  looks like this problem is a bug in Virtuemart.

Please, read this thread more carefully. It is not rounding problem, but just cutted description, values are not affected. Check your custom rounding in configuration of Virtuemart, there must be your problem.

postkat

  • Beginner
  • *
  • Posts: 34
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #32 on: November 14, 2013, 00:18:04 am »
I have the same problem.
Virtuemart 2.0.24 and Joomla  2.5.16
I need to add eco tax for a French webshop but € 0,12 is rounded to € 0.
To be shure i tested it with € 0,90 and this is rounded to € 1
Really  looks like this problem is a bug in Virtuemart.

Please, read this thread more carefully. It is not rounding problem, but just cutted description, values are not affected. Check your custom rounding in configuration of Virtuemart, there must be your problem.

If it is not a rounding problem then why is 90 cents converted to 1 euro? And only in the custom fields not the product prices.

jurajvt

  • Beginner
  • *
  • Posts: 21
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #33 on: November 14, 2013, 14:19:24 pm »
Maybe you have rounding problem somewhere. But in this case - in this thread we have solved other problem, which is caused by sanitizing code added in core method.

If you had reverted back to 2.5.14, or you had tried to do clean installation, problem is still same?

I have not tried if it is this value, but you can check rounding digits on Baseprice modificator in Virtuemart/Configuration/Pricing

servlet

  • Jr. Member
  • **
  • Posts: 348
  • Business optimization
    • Фототапети
  • VirtueMart Version: 3.2.2
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #34 on: November 14, 2013, 18:20:39 pm »
In SVN or wait a few hours for the release.

Where is this SVN?
I am using: Joomla 3.7.2 VM 3.2.2
Он-лайн магазин за фототапети http://mishelfoster.com

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27427
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8

GuidoS

  • Jr. Member
  • **
  • Posts: 57
  • VirtueMart Version: 2.0.26a
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #36 on: November 16, 2013, 18:48:27 pm »
Well, in my shop the problem isn't solved. I am using stockable variants with options like Size 6,5 and Size 7,5 but virtuemart is still showing 6 and 7. What do I have to do to solve this?

GuidoS

  • Jr. Member
  • **
  • Posts: 57
  • VirtueMart Version: 2.0.26a
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #37 on: November 22, 2013, 00:43:38 am »
No fix in 24b. Isn't there any one else with the same problem? Can't use , in the custom fields after updating to joomla 2.5.16 and the latest version of Virtuemart. Could some one tell me where to look to solve this? Can't select the right sizes of my gloves at this moment.

Margriet

  • Jr. Member
  • **
  • Posts: 80
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #38 on: November 22, 2013, 10:13:58 am »
It's not exactly the problem mentionned, but I unfortunately can confirm this. Did a quick test by adding those fields in a Joomla 2.5.16 / VM 2.0.24b and no comma's. Replaced methods.php with the one from 2.5.14 and comma's where there.
Difference is that with this one it also affects backend view.

So yes, it is related to methods.php I suppose.

GuidoS

  • Jr. Member
  • **
  • Posts: 57
  • VirtueMart Version: 2.0.26a
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #39 on: November 23, 2013, 22:26:54 pm »
Thank you for confirming the problem. Hope there will be a fix soon.

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #40 on: November 24, 2013, 16:49:04 pm »
Check 2.0.22c

Margriet

  • Jr. Member
  • **
  • Posts: 80
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #41 on: November 24, 2013, 17:17:27 pm »
What do you mean by that? Downgrade? No use as methods.php from Joomla 2.5.16 is causing this! Only temporary solution is to use methods.php from Joomla 2.5.14.

jurajvt

  • Beginner
  • *
  • Posts: 21
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #42 on: November 24, 2013, 17:33:13 pm »
What do you mean by that? Downgrade? No use as methods.php from Joomla 2.5.16 is causing this! Only temporary solution is to use methods.php from Joomla 2.5.14.

I think, that it was typo. He meant 2.0.24c - newest version...

Margriet

  • Jr. Member
  • **
  • Posts: 80
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #43 on: November 24, 2013, 17:46:09 pm »
Think so, but no change unfortunately.


[attachment cleanup by admin]

jurajvt

  • Beginner
  • *
  • Posts: 21
Re: Rounding price custom fields problem after update to Joomla 2.5.16
« Reply #44 on: November 24, 2013, 18:18:42 pm »
Think so, but no change unfortunately.

I have not tested this problem in newest versions, I am only checking accepting of this one problem http://forum.virtuemart.net/index.php?topic=120203.0

New VM versions have their own class vmText which is replacing Joomla JText (methods.php) and their own method _ in this class, which is replacing JText::_ method used in custom fields output. So here cannot be problem.

I can try it for you, but please, help me too, look on my problem described in link above, if I am right...