- Posts: 2
- Thank you received: 0
ReferenceError: Can't find variable: calculateCartRegistrationFee
- Davide Cardea
- Topic Author
- Offline
- New Member
Less
More
2 years 1 month ago #155364
by Davide Cardea
ReferenceError: Can't find variable: calculateCartRegistrationFee was created by Davide Cardea
I'm using the latest Eventbooking component on Joomla 3.10.11 and the coupon doesn't apply while finalizing the purchase. In the browser console I see this error:
How can I fix this? Anyone else experiencing this?
Code:
ReferenceError: Can't find variable: calculateCartRegistrationFee
How can I fix this? Anyone else experiencing this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 1 month ago #155374
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic ReferenceError: Can't find variable: calculateCartRegistrationFee
Hi Davide
Look like it happens because :
1. You are having an override for checkout form layout base on code of old version of the extension. Try to go to Events Booking -> Configuration, set Load Legacy JS config option to Yes, then check it again to see if it solves the issue
2. Or there is conflict with something on your site (for example, something on your site tries to compress javascript code and make it not working as expected). For this, submit a support ticket sending us super admin account and link to the page which we can register for the event and see the error. We are going to check to see why the issue happens and get it sorted
Regards,
Tuan
Look like it happens because :
1. You are having an override for checkout form layout base on code of old version of the extension. Try to go to Events Booking -> Configuration, set Load Legacy JS config option to Yes, then check it again to see if it solves the issue
2. Or there is conflict with something on your site (for example, something on your site tries to compress javascript code and make it not working as expected). For this, submit a support ticket sending us super admin account and link to the page which we can register for the event and see the error. We are going to check to see why the issue happens and get it sorted
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Davide Cardea
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
2 years 1 month ago #155394
by Davide Cardea
Replied by Davide Cardea on topic ReferenceError: Can't find variable: calculateCartRegistrationFee
Thank you. Solution n.1 fixed the issue.
Best regards
Best regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 1 month ago #155395
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic ReferenceError: Can't find variable: calculateCartRegistrationFee
Yes. That should address the issue. However, if it is possible, you should re-implement the override base on latest code of the extension. That would be best option
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.