Support

Home Forums Event Espresso Premium thresholds to determine spaces available display

thresholds to determine spaces available display

Posted: June 6, 2013 at 4:30 pm


iaeonpac

June 6, 2013 at 4:30 pm

I have set the class .spaces-available {display: none;} as we do not want to show low numbers of places remaining. Rather than an ‘all or nothing’ approach is it possible to change the status of what is displayed depending on one or more thresholds being reached? e.g. something like:

>50 = [number or remaining places shown]

<= 49 >10 = [ text “some spaces remaining’]

<=10 >0 = [ text “final few’]

0 = [text “no places remaining”]


Dean

June 7, 2013 at 2:37 am

Hi,

Yes this is possible, but with PHP rather than CSS, so you would have to modify the event_list_display.php and registration_page_display.php templates witht he appropriate logic.

This should get you started but it is rough and we cannot support modifications – https://gist.github.com/Apina/65d8ed21addf4c067e41

The support post ‘thresholds to determine spaces available display’ 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