- Posts: 7
- Thank you received: 0
Custom Field Quantity Not Working
- Melissa D
- Offline
- New Member
-
Less
More
7 years 1 month ago #113491
by Melissa D
Replied by Melissa D on topic Custom Field Quantity Not Working
Hi Tuan,
I read through this thread and made sure I followed all of the instructions given, but I am still having troubles getting the Custom Field Quantity to work on my site. I could really use some help with this.
Thank you
I read through this thread and made sure I followed all of the instructions given, but I am still having troubles getting the Custom Field Quantity to work on my site. I could really use some help with this.
Thank you
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #113497
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field Quantity Not Working
Hi Melissa
Could you please let us know exactly what's the problem/difficulty with this feature you are having so that I can understand and give you answer?
Regards,
Tuan
Could you please let us know exactly what's the problem/difficulty with this feature you are having so that I can understand and give you answer?
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Melissa D
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 1 month ago #113499
by Melissa D
Replied by Melissa D on topic Custom Field Quantity Not Working
I created a custom field listing different classes available with cost of each class and the number of seats in each class. I was hoping that each class option would drop off when the quantity was reached. That does not happen. That means that I have to watch registrations as they come in and manually remove the classes when they are full.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #113500
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field Quantity Not Working
That is not correct. Maybe it happens because you are logging in using an account has Registrants Management permission (like using a super admin account)
Could you please try to login using a standard Registered account (or not logging in) to register for the event and let me know if the issue still happens?
Tuan
Could you please try to login using a standard Registered account (or not logging in) to register for the event and let me know if the issue still happens?
Tuan
Please Log in or Create an account to join the conversation.
- Melissa D
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 1 month ago #113505
by Melissa D
Replied by Melissa D on topic Custom Field Quantity Not Working
I use a test user that has very basic access to test the registration.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #113506
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field Quantity Not Working
That's strange to me. Could you please submit a support ticket:
1. Sending me super admin account of your site
2. Tell me ID of this custom field
3. Tell me what option should not be available but still available
I will check to see what's wrong and guide you to correct it
Regards,
Tuan
1. Sending me super admin account of your site
2. Tell me ID of this custom field
3. Tell me what option should not be available but still available
I will check to see what's wrong and guide you to correct it
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Missie
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 2
6 years 10 months ago #116526
by Missie
Replied by Missie on topic Custom Field Quantity Not Working
Hi Tuan - we recently updated EB. The custom field quantity is once again not honoring the custom field quantity. I have uploaded the list.php file you provided last year, but admins are still able to exceed the max capacity.
Guessing maybe the coding has changed, and therefore the file I manually install needs updated as well? Can you help?
Guessing maybe the coding has changed, and therefore the file I manually install needs updated as well? Can you help?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 10 months ago #116527
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field Quantity Not Working
Hi
You can modify the code yourself base on latest version of the extension:
1. Open the file administrator/components/com_eventbooking/libraries/rad/form/field/list.php
2. Find this line of code (line 102 in current version)
3. Change it to: (remove !$user->authorise('eventbooking.registrantsmanagement', 'com_eventbooking') from the code)
After that, check the result. It should work as expected
Regards,
Tuan
You can modify the code yourself base on latest version of the extension:
1. Open the file administrator/components/com_eventbooking/libraries/rad/form/field/list.php
2. Find this line of code (line 102 in current version)
Code:
if ($this->row->quantity_field && count($values) && count($quantityValues) && $this->eventId && !$user->authorise('eventbooking.registrantsmanagement', 'com_eventbooking'))
3. Change it to: (remove !$user->authorise('eventbooking.registrantsmanagement', 'com_eventbooking') from the code)
Code:
if ($this->row->quantity_field && count($values) && count($quantityValues) && $this->eventId)
After that, check the result. It should work as expected
Regards,
Tuan
The following user(s) said Thank You: Missie
Please Log in or Create an account to join the conversation.
- Missie
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 2
6 years 10 months ago #116584
by Missie
Replied by Missie on topic Custom Field Quantity Not Working
Perfect!!! Thank you Tuan!!!
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
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.