Show result count
-
Hi,
I’m using themify filter combined with Elementor. Theme is OceanWP.
The filtering works great however the result count disappears once I filter.Example:
URL: myshop.com/shop/ – Displays result count of Elementor Products widget*filter*
URL: myshop.com/shop/?wpf=shop_filter – Result count is gone
The filter setting “Hide result product count” is not checked and I have enable result count in the elementor widget but I can’t see the results after filtering.
—–
The documentation tells me that we can execute JS code after the ajax call has been made, so I’m wondering, how do I catch the total number of products found by the filter selection with JS code?
”
For this, the plugin offers a custom event that can be used to execute any JavaScript code after WPF has loaded the items, and it can be used like so:jQuery( document ).on( ‘wpf_ajax_success’, function() {
// new products are loaded in the page. Yay!
} );
”
- The topic ‘Show result count’ is closed to new replies.