Support

Home Forums Event Espresso Premium [BUG] Price of ticket is multiplied by 10 when updating an event

[BUG] Price of ticket is multiplied by 10 when updating an event

Posted: August 17, 2018 at 5:51 am

Viewing 6 reply threads


infometis

August 17, 2018 at 5:51 am

When I update an existing event, all ticket prices get multiplied by 10. even worse, if there are already registrations, ee archives that tickets and creates a new one because of the price change. This is a showstopper, appreciate to look into it immediately.


Josh

  • Support Staff

August 17, 2018 at 6:20 am

Hi,

Have you ruled out a plugin conflict? If not, you can rule out a plugin or theme conflict by installing the Health Check plugin, then go to WP → Dashboard → Heath Check → Troubleshooting. There you’ll Enable Troubleshooting Mode, then once that’s activated you’ll reactivate Event Espresso only via the Health Check’s Troubleshooting item in the WP admin bar. At that point, can you check to see if the issue persists?


infometis

August 19, 2018 at 1:07 pm

Hi Josh,

this Plugin has some very bad ratings and obviously made some websites crash, which we cannot afford. I think, the problem is not a plugin or theme conflict, but rather EE having an issue with interpreting the ticket-price as number in the German locale and not saving it back correctly.

best Martin


Tony

  • Support Staff

August 20, 2018 at 2:41 am

Hi Martin,

I think, the problem is not a plugin or theme conflict, but rather EE having an issue with interpreting the ticket-price as number in the German locale and not saving it back correctly.

Whilst that is possible, if that were the case I’d be able to reproduce this by setting my sites locale to Deutsch and set my address to Germany in EE’s general settings, correct?

Site language – http://take.ms/hFeiA
EE address – http://take.ms/V6L2t (this setting tells EE which currency setting to use)

Then add some prices to an event and/or update said event a few times, each time the prices would change, correct?

This is what happens when I test that – http://take.ms/G59XR

Each ticket was added individually and the event updated between each, then the event just randomly updated a few times. Nothing changes on the tickets. If I’m doing anything different on my site I’m more than happy to test further if you let me know the steps that a difference.

As this is working without other plugins on a test site, this would normally point to a plugin/theme conflict and the only way to find out which plugin is conflicting you’ll need to run through the steps Josh posted. If you are not comfortable doing so on your live site you can create a staging/development copy of the site, retest there to confirm the issue remains and then run through the steps on that site.

If you open up dev tools in your browser, for example Chrome Dev Tools, and look in the console section, do you see any errors when you open the event editor?

Then with the console open, edit a price (you don’t need to save, just edit a price value), do you see any errors?


infometis

August 31, 2018 at 4:58 pm

Hi Tony

A few things to mention: The EE address is set to “Switzerland”, not “Germany”. In the EE Country Settings of Germandy, the Thousands Separator is set to “.” which might lead to the Bug. Correct would be the appostrophy “‘”.
Also I see that in the test you’ve made, you used prices < 1000 CHF. Maybe the problem only occurs for prices > 1000.00 CHF because there are two dots in the field.
Hope this brings things futher, thanks for your help and support
Martin


infometis

August 31, 2018 at 5:13 pm

https://monosnap.com/file/mJOgjHLgnPSExES05R39Dgc1CpMaZh#
https://monosnap.com/file/QA2FPnQLlNgNay6zw6lcrBRtZYlnFK#


Tony

  • Support Staff

September 3, 2018 at 2:25 am

A few things to mention: The EE address is set to “Switzerland”, not “Germany”.

Ah ok, my apologies.

In the EE Country Settings of Germandy, the Thousands Separator is set to “.” which might lead to the Bug. Correct would be the appostrophy “‘”.

Yeah the problem is you have both the Thousands and Decimal marks set to a period – .

Shown here – https://monosnap.com/file/QA2FPnQLlNgNay6zw6lcrBRtZYlnFK#

The default setting would use a comma , for thousands and you’ll need to change it so they both don’t use the same, this is the default for Switzerland – http://take.ms/kHpfH

You mentioned an apostrophe would be the correct delimiter for you to use, currently, we don’t have any other option than a comma or period but you can not use the same for both.

Also I see that in the test you’ve made, you used prices < 1000 CHF. Maybe the problem only occurs for prices > 1000.00 CHF because there are two dots in the field.

Yeah, I see it, but that wouldn’t be reproduced without setting both decimal and thousands to the same delimiter.

Viewing 6 reply threads

The support post ‘[BUG] Price of ticket is multiplied by 10 when updating an event’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso