I looked through previous posts and found reference to this issue. back in January, Tony Warwick suggested replacing code on line 93 of the index.php file.
New code is: <tr class=”espresso-table-row cat-<?php echo str_replace(‘,’, ‘ cat-‘, $event->category_id); ?>”>
I tried this but it does not work. On first load, all the events are listed. When I filter by category, all the events disappear.
Just noticed another problem. When using the custom event table, there is no access to “view cart”. Clicking on view cart simply refreshes the custom event table. Any thoughts?
In addition to the change that Tony suggested, there’s a way to avoid a potential conflict with other select boxes on the page by changing this line of jQuery near the bottom of the template file:
var ee_filter_cat_id = jQuery("option:selected").attr('class');
change to:
var ee_filter_cat_id = jQuery("#ee_filter_cat option:selected").attr('class');
The view cart issue may be another conflict. If you can post a link to the page where this is happening we can take a look and troubleshoot.
Where have you placed the [EVENT_CUSTOM_VIEW] shortcode?
When clicking the ‘View Cart’ the event table should not be displayed, but the cart itself.
If you go to Event Espresso -> System Status. Look under Registration Status, are all the URL’s green?
Viewing 4 reply threads
The support post ‘Custom event table not filtering categories’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.