Support

Home Forums Event Espresso Premium editing registration check out page

editing registration check out page

Posted: January 8, 2019 at 2:56 am

Viewing 29 reply threads


acsw

January 8, 2019 at 2:56 am

Hello
How can i add a field thats in the event rego form to the check out page please?
thanks
Sue


Tony

  • Support Staff

January 8, 2019 at 6:44 am

Hi there,

You mean additional questions?

You add custom question in Event Espresso -> Registration form -> Questions.

Then assign them to a question group that is selected on the event in Event Espresso -> Registration form -> Question groups.

We have some documentation on this here:

https://eventespresso.com/wiki/add-questions-event-espresso-question-groups/


acsw

January 8, 2019 at 7:02 am

Hi Tony
thanks for your reply – not additional questions..they have registered for an event with a particular odour – the odour can be one of three odours selected when they register – i want to show the odour they selected on the rego check out page
thanks
Sue


Tony

  • Support Staff

January 8, 2019 at 7:13 am

Can you post a screenshot of the location you are referring to please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

The ‘rego check out page’ to me would be the registration form, from there is the payment options step and then the thank you page.


acsw

January 8, 2019 at 5:06 pm

Hi Tony
here is the link to the event
http://acsw.com.au/events/ort-vic-2march19/

so if you click on register now and then proceed to payment options – its the next screen that comes up. So on the screen where you complete name etc — there is a field called Odour with a drop down menu selection….once this is selected then I wanted to be able to add the Odour selected on the next page (when you proceed to payment options) so the customer can tell they have entered the correct class (odour). One other question if the same person wants to enter birch odour and and also anise odour then currently they have to complete this form twice – is there anyway round this this so they can select 1 – 2 or 3 odours at time of registering?
thanks
Sue


acsw

January 9, 2019 at 3:16 am

Tony here is a link to the screen shot also

https://drive.google.com/open?id=1W4vHY5PnppAzpuO0KOrsA-J0H1eW2Bpq

so just wanting to show on this the odour entered (would still like to know how i can allow the person to register for birch or birch and anise or birch and anise and clove etc….thanks Sue


Tony

  • Support Staff

January 9, 2019 at 12:05 pm

Yeah, that’s the payment options step.

So you want to include the odour within the description of the line items? Here – https://monosnap.com/file/aA4B1c3oNekxHD4CLA7BJLJH9Dlbuz

You’re going to need custom development for this as there’s no option to do so within core currently.

With regards to multiple odours, a dropdown can only have a single selection but you could change the odour question to a checkbox, that way the user can select any number of odours.

As you already have registrations on the dropdown question it’ll need a new question in its place rather than just editing the question which complicates things a little as if you remove the ‘original’ question from the group you won’t see the answers in the current registrations.

So before moving forward, will a checkbox question work for you?


acsw

January 9, 2019 at 4:28 pm

Thanks Tony – yes wanted to add the odour on that line.
Yes a checkbox question would work ok…thanks


acsw

January 10, 2019 at 5:35 am

Hi Tony I just set up a new rego question called “which odour” and used check boxes…did a test entry for birch and anise and when i pulled the registration report its showing birch and anise on the same line – anyway to show birch on one line and anise on a new line please? Not a big deal if not….Also the payment is showing for 1 odour and not 2 ie $30 and not $60……guess not as easy as i thought….not sure what I need to change re payment amount…..thanks


Tony

  • Support Staff

January 11, 2019 at 2:30 am

when i pulled the registration report its showing birch and anise on the same line – anyway to show birch on one line and anise on a new line please?

I think so yes, but how you do it changes depending on the question type used, so I’d recommend doing this last.

Not a big deal if not….Also the payment is showing for 1 odour and not 2 ie $30 and not $60……guess not as easy as i thought….not sure what I need to change re payment amount…..

Ah, you didn’t mention you needed the odour selection to alter the price, that changes things.

Currently EE doesn’t have a method to change the price based on question selections, you can only do it through tickets so you’d need multiple tickets within the event, such as:

ORT 2nd March 2019 entry for 1 dog – 1 odour ($30)
ORT 2nd March 2019 entry for 1 dog – 2 odours ($60)
ORT 2nd March 2019 entry for 1 dog – 3 odours ($90)

The user then selects the correct ticket type with the correct price and selects the odours in the registration form.

However, there is also a 3rd part add-on available that can add values to questions so that selecting a question will change the price:

http://aparnascodex.com/downloads/price-modifier-for-event-espresso-4/

BUT (this is important) you’re going to need to make some changes to how your registrations work to use that as selecting 1 answer will add $30, 2 will add $60 and so on (or whatever values you set) so you cant charge a ticket value of $30 as you’ll add another $30 when selecting an odour.

So without having to buy an additional add-on and change up how your registrations work, the easiest/quickest method will be with multiple tickets in the event.


acsw

January 11, 2019 at 3:07 am

thanks Tony – I have added the 3 tickets now but if i enter say 2 odours its showing these on the same line – not a biggy i suppose as I can copy and paste that line as i need to sort by individual odour…..
re the tickets and selecting one of the 3 tickets how can i change the work QTY to something else please as its only 1 per dog
https://drive.google.com/open?id=1CeYWZRX3cqjwbC1-qKnTVdlb6ugN7f74
thanks
Sue


Tony

  • Support Staff

January 11, 2019 at 6:30 am

thanks Tony – I have added the 3 tickets now but if i enter say 2 odours its showing these on the same line – not a biggy i suppose as I can copy and paste that line as i need to sort by individual odour…..

Hmm, if you want to sort by odour your going to need each answer in its own column rather than on a new line (in the same column), correct?

re the tickets and selecting one of the 3 tickets how can i change the work QTY to something else please as its only 1 per dog

Yes, you can change the Qty text to something else, for that you can use a snippet like this:

https://gist.github.com/Pebblo/6c8c3c8d84b9d77608d9116bfe012dec

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

You change CustomQty* to whatever text you want to use in its place.


acsw

January 12, 2019 at 4:16 am

thanks Tony will give that a try
cheers Sue


acsw

January 14, 2019 at 3:42 am

Hey Tony i created the custom plugin per this

<?php //Please do not include the opening PHP tag if you already have one
function tw_ee_custom_qty_text() {
return ‘Select Ticket’;
}
add_filter( ‘FHEE__ticket_selector_chart_template__table_header_qty’, ‘tw_ee_custom_qty_text’ );

saved the file (called ticketcustom) in dir called suecustomsite- when i goto PlugIns I dont see this listed…..did i miss something?

Yes would like to sort by individual odour

Hmm, if you want to sort by odour your going to need each answer in its own column rather than on a new line (in the same column), correct?

how easy is this to implement please?
thanks for any help
Sue


Tony

  • Support Staff

January 14, 2019 at 4:01 pm

saved the file (called ticketcustom) in dir called suecustomsite- when i goto PlugIns I dont see this listed…..did i miss something?

Yes, you missing the plugin header, see step 5 from here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The start of your plugin file should have something like this:

<?php
/*
Plugin Name: Site plugin for myexamplesite.com
Description: Site specific code for myexamplesite.com
*/
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */

That tells WordPress that the file is a plugin and should display in ‘Plugins’.

Then the code you have currently (note that the above already has an opening PHP tag, so you wouldn’t then also have this <?php //Please do not include the opening PHP tag if you already)

It should be something like this:

https://gist.github.com/Pebblo/739a6c0721d5b15e66d012546513d794

how easy is this to implement please?

It’s not that easy because all of the answers are stored related to a single question for a checkbox. Breaking those out into individual columns could cause issues with the export, I’ll do some testing and see if there’s a simple way around it.


acsw

January 14, 2019 at 7:48 pm

Bit of a learning curve for me Tony – sorry…
this is what i have now but not seeing anything new listed under installed plugins?
thanks
Sue

<?php
/*
Plugin Name: Site plugin for acsw.com.au
Description: Site specific code for acsw.com.au
*/
function tw_ee_custom_qty_text() {
return ‘Select Ticket’;
}
add_filter( ‘FHEE__ticket_selector_chart_template__table_header_qty’, ‘tw_ee_custom_qty_text’ );


acsw

January 14, 2019 at 8:33 pm

oh and added ?/ at end but still no luck
<?php
/*
Plugin Name: Site plugin for acsw.com.au
Description: Site specific code for acsw.com.au
*/
function tw_ee_custom_qty_text() {
return ‘Select Ticket’;
}
add_filter( ‘FHEE__ticket_selector_chart_template__table_header_qty’, ‘tw_ee_custom_qty_text’ );
?/


Tony

  • Support Staff

January 15, 2019 at 7:00 am

oh and added ?/ at end but still no luck

May I ask where you saw that? You need to remove that as its invalid.

If I can take a look at the plugin code if you’d like to find out where this is going wrong? I’ll need FTP details for the server to view this directly and for that you can use this form:

https://eventespresso.com/send-login-details/

Or, if you just want it to work, here’s a plugin that you can install in Plugins -> Add new -> Upload new.

https://monosnap.com/file/gSOM41yXknuO8mE86qMjTbttCV0G0r

Download the zip and then upload it to your site.


acsw

January 15, 2019 at 4:44 pm

Hi Tony ive removed the ?/ – still not working…I did fill in the form to give you access – thanks for looking for me – appreciate your help.
Also is this customisable for each event or just applies across the board for all events?
Sue


Tony

  • Support Staff

January 16, 2019 at 3:36 am

Hi Sue,

It looks like the FTP credentials provided only have access to an empty folder, can you update the details so that have access to root or at least the site’s own directory. When you create the account in cPanel (which I assume you are using) you’ll see a field for ‘Directory’, make sure that is empty to give access to root.

Also is this customisable for each event or just applies across the board for all events?

It’s a sitewide change so it applies to all events.


acsw

January 16, 2019 at 3:49 am

couldnt change the ftp account Tony so created a new one – all details same new password sent on form….left dir blank this time – thanks


Tony

  • Support Staff

January 16, 2019 at 4:28 am

Thank you, that worked and the code looks fine.

I then logged into the site but I’m guessing the WP account you created is not an admin account? I don’t have any access to the dashboard and just get redirected to a ‘My Account’ page.


acsw

January 16, 2019 at 5:07 am

sorry Tony just changed to admin – thanks Sue


Tony

  • Support Staff

January 16, 2019 at 5:34 am

Hi Sue,

The plugin did show in the plugins menu and I’ve activated it to confirm it worked correctly (which it did), I haven’t made any changes other than activate that plugin so you did the above correctly 🙂

If you look at your ticket selector now the text will have changed.

If you view in Dashboard -> Plugins you’ll see a plugin name ‘Site plugin for acsw.com.au’ which has been activated. If you disable that plugin again the text will revert to default.


acsw

January 16, 2019 at 6:13 am

Hi Tony
i did download your plug in and this worked fine and i de activated it….I see its activated now —-i couldnt get my plug in to work – please confirm did you get my plug in to work? I didnt see my plug in listed at all but yours is listed there…
Thanks Sue


acsw

January 16, 2019 at 6:14 am

ALso Tony when you say the plugin showed in the plugins menu – what was the name of this please? thanks


acsw

January 16, 2019 at 6:19 am

the only plug in i see for this is Site plugin for acsw.com.au and i assume this is the one you emailed to me and I installed – how can i check please??


Tony

  • Support Staff

January 16, 2019 at 6:29 am

The name of the plugin is ‘Site plugin for acsw.com.au’

However, I assumed that was your version of the plugin rather than mine.

I’ve found yours under the suecustom directory (silly I missed that earlier!)

So the reason your plugin isn’t showing is that the file inside has no extension. The ticketcustom file needs to be renamed to ticketcustom.php for it to load.

Within that file you have Plugin Name: Site plugin for acsw.com.au

That is what WordPress uses for the plugin name and is what will show up in the plugin list so you can change that if you prefer (it’s the same as my plugin, so it’ll get confusing once you fix the file).

Changing the above to:

Plugin Name: My custom plugin for acsw.com.au

Would show the plugin as ‘My custom plugin for acsw.com.au’ in the plugin list.

Or you can simply remove my plugin from the site before fixing yours.

(Note again I haven’t actually changed anything because you wanted to know why this went wrong rather than me just fix it)


acsw

January 16, 2019 at 6:17 pm

Hi Tony thanks so much for your help and sorry it was something so simple as the file extension which i missed…..thank you again….


Tony

  • Support Staff

January 17, 2019 at 7:06 am

No problem wt all, sometimes it just takes a fresh pair of eyes 🙂

Viewing 29 reply threads

The support post ‘editing registration check out 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