Facetwp woocommerce. How to get started with FacetWP.
Facetwp woocommerce. Jun 21, 2025 · FacetWP. FacetWP is an advanced filtering plugin for WordPress that allows you to add faceted search to you WooCommerce sites, listing pages, resources pages, search pages, directories, and more. You can make FacetWP index them by enabling the “Index out-of-stock products” setting under FacetWP > Settings > Woocommerce. This facet type includes Start Date (date picker), End Date (date picker), and Quantity (text) input fields. php to fix this issue: Apr 16, 2025 · If you are using FacetWP together with SearchWP and WooCommerce, the WooCommerce search results page will not work well out of the box. You can use FacetWP to add faceted search to your eCommerce sites, resource libraries, listing pages and more. This add-on registers a new "Availability" facet type. Jun 11, 2025 · When you place facets on an existing WordPress archive, search, blog/home or WooCommerce shop page, FacetWP will automatically detect the right query and post loop, and your facets will just work. Jun 28, 2022 · Yes! FacetWP supports any plugin that uses post types to store products. This means that you can leverage the power of FacetWP with your existing plugins and extensions, without any compatibility issues. Apr 24, 2025 · If you are using the above code on a WooCommerce page/template, there is possibly one more thing to fix: Fix WooCommerce result counts. FacetWP is a filtering plugin that provides advanced filtering for WordPress and works integrated with plugins such as WooCommerce and WP Job Manager. The [products] shortcode comes with a range of possible attributes to customize the products query, like the number of posts per page, the order, or category. How to change the initial sort order Facetwp replace WooCommerce pagination with a pager facet * * Create a pager facet in facetwp's settings and use that facet name in the code below. However, there are circumstances in which FacetWP’s automatic query/post-loop detection fails, resulting in the facets and listing not being updated: Aug 5, 2017 · Looking to implement FacetWP on WooCommerce archives like the main Shop page in Genesis? Here are some tips and pointers that you may find useful. Mar 12, 2025 · If you need sorting by product variation price, you could use WooCommerce’s built-in sort box, which works on the “normal” WooCommerce product archive. Check the respective Help Center pages for info on where it works and where not. Trigger re-indexing after importing posts or products. It even supports variable products. Mar 14, 2025 · Similar to the way WooCommerce pagination works with FacetWP, this is the best of both worlds: users get AJAX pagination, and search engine spiders (and users without JavaScript enabled) can follow the href links. Developer friendly Developers can take advantage of the plugin's many hooks for a high degree of customization. Usage 1. Do not forget to press the Re-index button. Add the following code to your (child) theme’s functions. If you are using the above code on a WooCommerce products/shop page template, you may have the WooCommerce-native result counts on the page, which displays as e. FacetWP works great with WooCommerce, Advanced Custom Fields, and many other WordPress plugins. Updated Dec 16 2024. <?php // Disable both of WooCommmerce included Select2 libraries on the front-end. A tutorial for configuring WooCommerce, FacetWP, and MoJo Slide Panel for easy product filtering using a flyout widget panel. In all situations, it is also possible to use a Pager facet instead. It is also possible to make link-based pagination work with FacetWP: read more Apr 22, 2025 · To let facets work correctly with this setup, FacetWP’s “Index out-of-stock products” setting (under FacetWP > Settings > WooCommerce) needs to be enabled, otherwise there will be no facet choices for out-of-stock products. Important: There is a known issue with products not showing up on the default product search results page. Dec 2, 2024 · In this approach, FacetWP’s automatic indexing should be turned off with the facetwp_indexer_is_enabled hook. Updated Apr 7 2025. All that needs to be done - adding your FacetWP facets inside your theme search results page. When you have changed the permalinks for product category archives with this plugin, FacetWP’s AJAX POST request of paged pages is intercepted and redirected with a 301 redirect, from ?_paged=2 to Dec 16, 2024 · How to use get_query_var('paged') with FacetWP. FacetWP also supports WooCommerce built-in pagination. pagination and sorting) may need to be replaced with FacetWP facets for paging and sorting, although FacetWP has built-in support for WooCommerce’s default pagination and sorting. Be sure to Apr 7, 2025 · If you are using WooCommerce product variations with FacetWP, you can filter these variations with facets that have product attributes set as their data source. One caveat: some page components (e. This can either be a custom taxonomy, or – if you are using WooCommerce – a global product attribute, which is also stored as a custom taxonomy. This plugin causes the following compatibility issue when using FacetWP with WooCommerce on product category archives that have a Pager facet. Apr 16, 2025 · See also Using FacetWP with WooCommerce Last updated: April 16, 2025 Using FacetWP with WooCommerce With the WooCommerce [products] shortcode it’s easy to add a products/shop grid or list to any normal WordPress page. Getting started with FacetWP is easy. How to get started with FacetWP. FacetWP fully supports WooCommerce product archive pages. After enabling this setting, make sure to re‑index . In this written tutorial, learn how to set up FacetWP to filter products on your WooCommerce shop page using Oxygen Builder. FacetWP works with most WordPress themes, and you can easily add search and filter facets anywhere on your page or theme using shortcodes or PHP. Apr 16, 2025 · If the rates are fixed, like VAT in EU countries, it is possible to let price-based facets index prices including VAT, even if they are entered excluding VAT, by using the facetwp_index_row hook: Index facets with one fixed tax rate Dec 2, 2024 · When importing products with WebToffee’s Product Import Export for WooCommerce or Import Export Suite for WooCommerce plugins, FacetWP’s automatic indexer is triggered. See this section on our WooCommerce page to learn how to set this up. This free FacetWP add-on integrates with WooCommerce Bookings to find available bookings within a date range. Note that this approach will work in WP archive or custom WP_Query templates, but not in Listing Builder templates in Dev mode. In the Color facet’s settings, you can choose a taxonomy as the Data source. It has a known incompatibility that causes wrong total post counts, leading to misbehaving pagination and paged pages showing no products. FacetWP includes many facet types, including checkboxes, dropdowns, date ranges, sliders, pagers, and even proximity (geolocation). If you are using WP All Import or WebToffee Import Export for WooCommerce to import posts/products, FacetWP’s automatic indexing can cause several issues when it runs during the Apr 3, 2025 · However, FacetWP does not index out-of-stock products by default. g. To display the facet… The WooCommerce Product Search plugin by Itthinx does not work well together with WooCommerce pagination or Pager facets. Add facets to your search results template Advanced Woo Search ( AWS ) has built-in support for FacetWP plugin. . With help of FacetWP plugin you can create advanced WooCommerce products filters with a variety of available options inside. WooCommerce uses a special post type archive template for its search results page, which has the “product” post type in the URL, like this: Apr 25, 2025 · Using categories, a custom taxonomy or a WooCommerce product attribute as Data source. FacetWP integrates seamlessly with popular WordPress plugins, such as WooCommerce, Easy Digital Downloads, and Advanced Custom Fields. add_action( 'wp_enqueue_scripts', function() { if ( !is_admin() && class_exists . WooCommerce, Easy Digital Downloads, and Jigoshop are all compatible. How to link filtered products to WooCommerce product variations. This article in the Relevanssi documentation gives a good overview of common compatibility issues and their fixes. This happens because posts and/or terms are being inserted and/or saved during the import process. The issue happens when using FacetWP, SearchWP, and the SearchWP WooCommerce Integration add-on together. To set up Product Categories filter in a widget, first create your facet. May 2, 2025 · WooCommerce FacetWP includes built-in support for WooCommerce. When you are using the Woocommerce Product Recommendations, FacetWP’s query detection will cause problems with the query for the recommended products on your cart page. May 27, 2025 · Using Relevanssi with WooCommerce. FacetWP is an advanced filtering plugin for WordPress that allows you to add faceted search to your WooCommerce sites, listing pages, resources pages, search pages, directories, and more. “Showing 1–10 of 16 results”. See below for a step-by-step guide. If you are using Relevanssi together with WooCommerce, some things will not work immediately. trwyjq yzaz seqd gmdpg ekrv mjpuo vhv eze jfxkd kcvo