ReferenceError: Can't find variable: calculateCartRegistrationFee

  • Davide Cardea
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #155364 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:
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.

More
2 years 1 month ago #155374 by Tuan Pham Ngoc
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

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

  • Davide Cardea
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #155394 by Davide Cardea
Thank you. Solution n.1 fixed the issue.

Best regards

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

More
2 years 1 month ago #155395 by Tuan Pham Ngoc
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

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