Most WooCommerce stores have hundreds of products and product variants. Adding a WooCommerce product filter plugin to your store arsenal, you can offer many high-quality products and variants that fit your niche quickly to fulfill site visitors’ needs and to complete sales transactions.
Trick to remove product category from URL WooCommerce without plugin
add_filter('request', function( $vars ) {
global $wpdb;
if( ! empty( $vars['pagename'] ) || ! empty( $vars['category_name'] ) || ! empty( $vars['name'] ) || ! empty( $vars['attachment'] ) ) {
$slug = ! empty( $vars['pagename'] ) ? $vars['pagename'] : ( ! empty( $vars['name'] ) ? $vars['name'] : ( !empty( $vars['category_name'] ) ? $vars['category_name'] : $vars['attachment'] ) );
$exists = $wpdb->get_var( $wpdb->prepare( "SELECT t.term_id FROM $wpdb->terms t LEFT JOIN $wpdb->term_taxonomy tt ON tt.term_id = t.term_id WHERE tt.taxonomy = 'product_cat' AND t.slug = %s" ,array( $slug )));
if( $exists ){
$old_vars = $vars;
$vars = array('product_cat' => $slug );
if ( !empty( $old_vars['paged'] ) || !empty( $old_vars['page'] ) )
$vars['paged'] = ! empty( $old_vars['paged'] ) ? $old_vars['paged'] : $old_vars['page'];
if ( !empty( $old_vars['orderby'] ) )
$vars['orderby'] = $old_vars['orderby'];
if ( !empty( $old_vars['order'] ) )
$vars['order'] = $old_vars['order'];
}
}
return $vars;
});
1. Product Filters for WooCommerce
The plugin has a very user-friendly settings page where you can choose your filter options. You can buy a single-site subscription of this plugin for $79, a five-site subscription for $129, or a 25 site subscription for $179.
2. YITH WooCommerce Ajax Product Filter
This plugin is an essential key to your store’s success, especially if you have a lot of products to promote. Your customers won’t be overwhelmed or confused by the many product choices. The plugin’s many layout options let you select the best choices for your site.
3. WordPress Meta Data & Taxonomies Filter
This plugin helps to ensure that your WordPress site’s content can be filtered and searched by both taxonomies and meta fields simultaneously. You can use it to filter taxonomies and metadata fields of posts, WooCommerce products, Jigoshop products, and custom post types.
4. WooCommerce Product Filter
The plugin allows you to select filter options such as attributes, categories, price, rating, stock status, vendor, etc. Adaptive filtering is an advanced option that only shows the remaining options in your filters. This feature helps your customers narrow down their product searches.
5. WOOF WooCommerce Products Filter
The premium version of the plugin offers some additional features that the free version doesn’t have. These options include the abilities to search for products by color, hierarchy dropdown, image, statistics, SKU and taxonomy slider. Statistical data can tell you what products your site viewers are most interested in.
Reference Blog
Top comments (1)
Pay attention to deductions and credits that you may be eligible for. Carefully review the questionnaire's instructions to ensure you claim all income tax questionnaire relevant deductions and credits to minimize your tax liability.