Posted: March 7, 2015 at 1:29 pm
|
We are setting up classes (we have EE3) and would like to provide some status as to whether classes are almost full, sold out or available. For almost full we would want to set the watermark – and then display the status. |
|
Hi, Have a look at this code: https://gist.github.com/Apina/65d8ed21addf4c067e41 It’s a little bit old but still works for EE3. It would need to be added into the appropriate files (event_list_display.php and/or the registration_page_display.php files) replacing the existing available spaces code. Regarding the Recurring events, in the actual plugin files, there is a folder called recurring-event-templates. In there are two files: event_list.php These can be copied over to /wp-content/uploads/espresso/templates and what will happen is all the recurring events in a series will be reduced to one in the event list, click the register link and the dates will be shown and the user can click the date they want to register to. Screenshot http://take.ms/0OTqi |
|
Dean thanks – regarding the Recurring events – is it possible to have a registration for the full class? Is it possible to pro-rate the remaining classes if one where to sign up for example for 5 of the 6 classes? Not sure how i set up a pricing scheme for that. |
Hi,
You could create a separate event to handle the registration for the full course / class. Then you could add a link to the individual sessions in the event desription area with messaging similar to this: Need to sign up for the full course? Click here The pro-rating option may be possible by using the Volume Discounts add-on which checks for some conditions before applying a discount: https://eventespresso.com/wiki/volume-discount-add-on/ — |
|
|
I copied the files to the template area and that got rid of the multiple event listings. However, it removed the Add to Cart so is there another file that we need in order to allow for multiple event registrations as well? |
|
Also, when copying over the template the featured image disappeared in the display as did all other meta data such as the pricing, age range that we listed in the class description. Any way to get that back? |
Hi, those templates were written for the recurring events manager. They would both need to be rewritten to add compatibility for the Multiple Events Registration add-on. That isn’t something that we can take on at this time through the support forums but here is another idea: First, deactivate those templates from the recurring events manager add-on. Then setup this tutorial so that CSS classes for event categories are added to each event: https://gist.github.com/lorenzocaum/bd201d77b82f5a8d8dd2 Then when while creating an recurring event, add that new event to an event category of your choice and then a second (additional) event category that will be used for all recurring events. For example, you could add events to an event category called Classes. Then we’ll need a second event category (e.g. extraseries) whose purpose will be for adding another CSS class that can then be hidden using display none. It is important to only use this additional event category for linking to display none otherwise you could accidentally hide some events and then you may be confused on how they disappeared. After creating the series of recurring events, return to the original event (first event in series) and remove that second event category (the one that will fill the purpose above.) Now you can do something like this: page-id-123 .extraseries {display:none} In the example above 123 is the page ID of your events listing page and the line of CSS can be added to your child themes stylesheet, My Custom CSS, Reaktiv CSS Builder or another CSS plugin. — |
|
|
Hi Lorenzo, Thanks- this will do it I think |
The support post ‘Displaying availability status’ 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.