Support

Home Forums Event Espresso Premium available spaces 999

available spaces 999

Posted: November 8, 2012 at 11:57 am

Viewing 14 reply threads


manuel dominguez

November 8, 2012 at 11:57 am

When an event is full the available spaces turn into 999 instead of 0.
Any idea where to fix this?
Thanks


Dean

November 9, 2012 at 1:43 am

Hello Manuel,

This shouldn’t occur, can you provide an example of it?


manuel dominguez

November 9, 2012 at 2:35 am

Hello Dean,
Yes you can see in this url: http://www.tallerdetartas.com/lista-cursos/.
The first one is set to 0 available spaces and it shows 999, also in the second course if you want to make the try you can send the form and see that it shows 999 when you go back to that page (no need to complete the payment).
Thanks for your support.


Dean

November 9, 2012 at 3:56 am

Thanks for the link, yes that is odd, it shouldnt be doing that it should show 0.

Ok, on looking at this, I am assuming you are using the ESPRESSO_TABLE shortcode.

In the espresso_table.php file look for this line

//Check to see how many open spots are available

$open_spots = get_number_of_attendees_reg_limit($event->id, ‘available_spaces’) == ‘Unlimited’ ? 999 : get_number_of_attendees_reg_limit($event->id, ‘available_spaces’);

Change it to this (adding an extra = before ‘Unlimited’

//Check to see how many open spots are available

$open_spots = get_number_of_attendees_reg_limit($event->id, ‘available_spaces’) === ‘Unlimited’ ? 999 : get_number_of_attendees_reg_limit($event->id, ‘available_spaces’);

This will make it so that at 0 the table will show 0 and when unlimted it will show 999


manuel dominguez

November 9, 2012 at 4:20 am

Hello Dean.
Fantastic!!!, this solved the problem.
As you have seen, it discounts the attendees either you complete the payment or not. I thought this was solved but is not. It should count only the completed registered. Any idea.


Dean

November 9, 2012 at 4:33 am

Hello Manuel,

I saw no issue with that, I just took a registration to PayPal and it did discount the price at all (€60).


manuel dominguez

November 9, 2012 at 4:37 am

Hello Dean.
Yes but if you only complete the form but in the next page yo do not go to paypal, for example go to Home, then it discounts the attendee in the list.
Can you try it to see it. http://www.tallerdetartas.com/lista-cursos/


Dean

November 9, 2012 at 5:19 am

Hi Manuel,

I think I would need to see the dashboard to see what you mean as I cant see any issues on the front end.

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form

NOTE: login details need to be Admin level.


manuel dominguez

November 9, 2012 at 5:27 am

Hi Dean.
The info is sended, please use the Example Course in the course list to test it.
Thanks.


Dean

November 9, 2012 at 6:02 am

Hello Manuel,

I logged in and tested stopping the process at various points but cannot see anywhere where it discounts the attendee.


manuel dominguez

November 9, 2012 at 6:17 am

Hi Dean
If you complete the form but no pay and the go back to the course list in the front end then you will se that the field “plaza” which is the attendees sits has minus one attendee, it counts the complete and pending attendees.
See example in Example Course.
Thanks


Dean

November 12, 2012 at 1:54 am

Hi Manuel,

OK yes now I understand and see the issue.

First things first you need to update your Event Espresso, I tried to do it for you, but it requests FTP access.

It was an issue were looked at resolving and I have tested this on 3.1.28.2 and it works fine, if no payment received it does not use a space from the attendee count.


manuel dominguez

November 12, 2012 at 3:02 am

Hi Dean.
Thanks for your help.
I’ve update to the last version but the problem still there. I’ve made some tests with the Example Course 2 and does count the uncompleted registered.


Dean

November 12, 2012 at 3:33 am

Hi

OK, I had a closer look at the settings, and what it is ist that in your general settings you have “Estado de pago por defecto (este valor se rellena automáticamente durante el estado de pago de cada persona, hasta que el pago sea realizado, para cada evento):” set as pending and in the event you have “Estado de pago por defecto para evento:” set as pending.

By changing these to incomplete and no change / incomplete respectively you can make it so incomplete registrations do not affect the attendee count.


manuel dominguez

November 12, 2012 at 3:39 am

Hi Dean.
Ok, now I think it works perfect!! So I have to change every course to No Change / Incomplete.
Thanks for all your support. Great work.

Viewing 14 reply threads

The support post ‘available spaces 999’ 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