Sun 25 Jul 2021 at 18:24 #62941
All of a sudden the #_DYNAMICPRICE placeholder in my registration form stopped working. I am busy setting up a new event and the total price was displayed just fine all along, but today somewhere along the line it stopped working, nothing is displayed anymore (so no errors or faulty data either).
Obviously I must have changed something in the settings, so I checked every setting but cannot find anything that may cause this.
It’s a simple event with three occurrences and just one ticket price. Not a multibooking form but very basic, and I haven’t changed anything in the RSVP form, just in other templates.
Hope you can point me in the right direction.
Thanks in advance, cheers,
LeoSun 25 Jul 2021 at 18:45 #62943
Also: #_DYNAMICPRICE only works in the rsvp form template, nowhere else.Sun 25 Jul 2021 at 19:20 #62944
Thanks for the quick response. I am aware the code only works in the rsvp form template, and it worked just fine until today. It is the default template as defined under Settings -> RSVP and I hadn’t made any changes to that (I have now, trying to get it to work again).
The form is called using #_ADDBOOKINGFORM in the Single Event template.
I made the event public so you can have a look: https://tt-theater.nl/voorstelling/het-jachtgeweer-2/ (it’s in Dutch, I assume that’s okay).
The code is all the way at the bottom where it says ‘De totale kosten zijn € .’
Thanks again.Sun 25 Jul 2021 at 20:27 #62945
It is weird … some weird plugin installed? Latest version of everything (I see your jquert version is a little bit older than mine)?
Also, your html code contains errors (do ctrl-u): table inside table is not allowed.Sun 25 Jul 2021 at 22:44 #62946
Btw: I used to make a distinction between the “input” and “change” event, because IE wouldn’t fire the input event on select-boxes. I”ve now decided to stop supporting IE (since WP stopped too), so this change might solve your problem:
(however, the html errors are still yours to fix 🙂 )Mon 26 Jul 2021 at 10:05 #62947
Wow, again you have pointed me in the right direction and I feel very stupid right now. 🙁
It turns out I had made an error by omitting the / in the table closing tag.
I would probably never have found this error without your help, so thank you once again for your time and sharp eye for detail!
Many cheers, LeoMon 26 Jul 2021 at 14:53 #62948
No problem. So your problem is now fixed (after fixing the html errors)?Mon 26 Jul 2021 at 15:05 #62949
Yes, it was really just the table inside table (which wasn’t supposed to be). The changed JS which I replaced first made no difference.
I will still be looking into the other issues you mentioned, the theme is very outdated and needs a makeover anyway.
- You must be logged in to reply to this topic.