Set min and max ticket types per purchase

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 months ago #121085 by Lorenzo
Dear Joomdonation,
the new ticket-type feature is awesome.

In my project there's an event with two ticket types that decide the total price. When selecting the types, each user should only be limited to 1 or 2 types.

In the attached example, a user buying the event entry must choose if he/she need the entry for:
  • 1 interpreter
  • 1 speaker
  • 2 interpreters
  • 2 speakers
  • 1 interpreter and 1 speaker

Unfortunately the Event setting to limit registrant does not work for this. Do you think that there can be a solution?
Kindest regards
Lorenzo
Attachments:

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 3 months ago #121091 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Set min and max ticket types per purchase
Hi

In this case, you cannot use Ticket Type, you can use Individual/Group registration instead

Create a custom fee field to allow choosing Registrant Type (Speaker/Interpreter) and registrant will have to that option for each member

eventbookingdoc.joomservices.com/basic-s...wn-custom-field-type

I think that solution will work perfectly for your need

Tuan

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

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 months ago - 5 years 3 months ago #121110 by Lorenzo
Replied by Lorenzo on topic Set min and max ticket types per purchase
Dear Tuan, I think your solution can fit me needs.

I set up an event with group registration. Then set the ticket types as required radio custom field.
Everything seems fine to me, but I get an internal server error. See attachment.

Joomla version 3.9.1
PHP Version 7.2.12
Event B. version 3.8.3


[hr]

[hr]
Attachments:
Last edit: 5 years 3 months ago by Lorenzo.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 3 months ago #121136 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Set min and max ticket types per purchase
Look like there is something special on your site causing this issue (when an ajax request happens, there is something on your site causing fatal error)

Could you please try to switch to Joomla core template protostar, then check it again to see whether you still get that error?

If you cannot figure out, maybe submit a support ticket sending us super admin account of your site and link to the page so that we can check it (I believe it must be something with your template or a plugin on your site causing this error)

Tuan
The following user(s) said Thank You: Lorenzo

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

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 months ago #121214 by Lorenzo
Replied by Lorenzo on topic Set min and max ticket types per purchase
Dear Tuan,
unfortunately the issue is there with Protostar too.
I'm sending a ticket now.
Kind regards
Lorenzo

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 3 months ago #121224 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Set min and max ticket types per purchase
Hi Lorenzo

As replied via support ticket, it causes by your wrong formula setup for one custom fee field. Please see my response via support ticket to see the details

Regards,

Tuan

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

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 months ago #121232 by Lorenzo
Replied by Lorenzo on topic Set min and max ticket types per purchase
Dear Tuan,
thanks for your quick reply and solution.

I think I misunderstood the documentation. Under "Understand Fee Formula" I read: "You can use *math operators : +, -, , /** in the fee formula."
That's why I used the +

Could you to write an example in that chapter?

Thank you again for your extraordinary support
Lorenzo

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 years 3 months ago #121233 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Set min and max ticket types per purchase
Usually, the fee formula can be used for text field or when you want to multiple value of different custom fields (for example eventbookingdoc.joomservices.com/basic-s...ox-custom-field-type )

In case radio custom field, you set fee value for each option already, so no need for fee formula

Tuan

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

Moderators: Tuan Pham Ngoc