Support

Home Forums Event Espresso Premium Format "Register" link, convert "Sold out" into "Waiting List" link

Format "Register" link, convert "Sold out" into "Waiting List" link

Posted: March 27, 2015 at 12:43 pm


Oguzhan Altun

March 27, 2015 at 12:43 pm

Hello,
Is it possible to format the Register link as a button?
Additionally I would like to convert the “Register” link into “Waiting list” if the event is sold out, is that possible?
Regards,
Oguzhan Altun


Oguzhan Altun

March 27, 2015 at 12:43 pm

Hello,
Is it possible to format the Register link as a button?
Additionally I would like to convert the “Register” link into “Waiting list” if the event is sold out, is that possible?


Dean

March 30, 2015 at 12:59 am

Hi,

Regarding the register link, it should be possible via CSS. Can you provide a link to an example?

Converting the sold out to a wait list would require some fairly complex custom development (I’m not quite sure if it’s even possible). One simpler option might be to hook into the event and if the event is sold out, display a contact form where the user can register their interest. Waitlists are something we are planning with EE4 but are not currently available.


Oguzhan Altun

March 30, 2015 at 2:59 am

Hi Dean,
Thanks for your answer, indeed a simple option would suffice. Could you explain how I could do the “hook into the event” so that I can direct them to a contact form?
Thanks in advance.


Dean

April 1, 2015 at 6:07 am

Something like this will hook into the event, and check if the event is sold out or not. It does need expanding to include code to display a contact form.

function ee_faux_waitlist($EVT_ID) {
global $post;

$x = $post->EE_Event->perform_sold_out_status_check();

if( $x ) {
	//do form stuff here
}

}
add_action('AHEE__ticket_selector_chart__template__after_ticket_selector','ee_faux_waitlist');


Oguzhan Altun

April 1, 2015 at 8:27 am

Thanks Dean for your answer. Since I don’t know any PHP, I guess it would be impossible for me to add the required code to display the contact form to the above.. 🙁


Lorenzo Orlando Caum

  • Support Staff

April 1, 2015 at 8:34 am

Hi, we have Event Espresso professionals that can help you with this custom coding:

https://eventespresso.com/developers/event-espresso-pros/


Lorenzo

The support post ‘Format "Register" link, convert "Sold out" into "Waiting List" link’ 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