Support

Home Forums Event Espresso Premium Ask Questions before Register Page

Ask Questions before Register Page

Posted: May 13, 2021 at 9:14 am

Viewing 5 reply threads


Matt

May 13, 2021 at 9:14 am

Is it possible to ask a custom question on either the Event Page or the Registration page? I would like to write a custom function that sets details about the type of ticket features in the Multi-Reg but would need a piece of user data earlier in the process. How would I add a dropdown either to the Ticket list, before selecting Add to Cart or on the Cart page?


Tony

  • Support Staff

May 17, 2021 at 7:52 am

Hi there,

I don’t think we have anything built into EE that will do this for you, but to confirm:

Is it possible to ask a custom question on either the Event Page or the Registration page?

By custom question, if you are referring to an EE registration question you have created, then you currently can’t include those outside of the checkout.

On the registration page I assume you mean something other than the attended information step on Single Page Checkout as that doesn’t tie in with this:

I would like to write a custom function that sets details about the type of ticket features in the Multi-Reg but would need a piece of user data earlier in the process.

So may I ask where you mean by ‘Registration page’?

Are users logging into your site or are the events publicly available?

How would I add a dropdown either to the Ticket list,
before selecting Add to Cart

Here you mean the ticket selector?

or on the Cart page?

Cart page being the section displayed when clicking View Event Cart? This page: https://monosnap.com/file/DtURLZdwePe2931SQTMnYvF5Ngktog

I’ll double-check with our developers for the above I’m just checking I understand where you want to add a field.

Can you add some more specific on what it is you are trying to do?


Matt

May 17, 2021 at 8:02 am

I figured it out with some customization. We have multiple tax codes by province so we had to build something to only select the correct tax code by the province of the event. Now, because of events going online, we have to charge tax by the user’s location instead of by the location of the event. The problem is, we don’t know the user’s location until the reg form.

So, I was able to add a dropdown to the ticket selector that lets them pick their province and then it just adds it to the SESSION with AJAX and we’re able to push that into our tax code selector.

Thanks for your help. Would be great to get built in features for multi-province/state taxes so we don’t have to hack around in the core so much. I can’t imagine that’s not desirable for anyone touring outside they’re region or, like us, with locations in two provinces. Wouldn’t it just be a series of checkboxes to replace the “This is taxable” checkbox to say “apply these taxes”?


Tony

  • Support Staff

May 17, 2021 at 12:14 pm

Ah ok, glad you figured it out.

Wouldn’t it just be a series of checkboxes to replace the “This is taxable” checkbox to say “apply these taxes”?

Unless I’m misunderstanding what you mean here, I’m not sure how that would work without then having multiple different ticket types one for each taxable rate on the event? That is kind of the workaround people use for it now but it’s not really how we would implement that kind of feature officially.


Matt

May 17, 2021 at 12:52 pm

Thanks again.

I was just thinking you could link tax codes to tickets the way you link tickets to events: A series of checkboxes. So, in the same way not all tickets are shown on an event page, not all tax rates are attracted to every ticket.

Anyway, that would be a huge help so that I don’t have to reapply my changes every time I update, but I get that these things may not be priorities.

Thanks again for your help.

Have a great day.
Matt


Tony

  • Support Staff

May 17, 2021 at 1:37 pm

I was just thinking you could link tax codes to tickets the way you link tickets to events: A series of checkboxes. So, in the same way not all tickets are shown on an event page, not all tax rates are attracted to every ticket.

The way we would likely implement something like this is using the address fields on the registration form, the apply taxes shown on the payment options step based on the values set. But even saying that I’m just guessing as we’d need proper planning first.

Generally, we would avoid asking a question on the ticket selector before starting the registration for this though.

Anyway, that would be a huge help so that I don’t have to reapply my changes every time I update, but I get that these things may not be priorities.

Are you sure there are no hooks available for you to use? If not, we can request more or open up a PR to include it/them yourself. Then you can use those rather than hacking up core and losing your changes on updates.

Viewing 5 reply threads

The support post ‘Ask Questions before Register Page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso