View Product Page

How to update YITH WooCommerce Ajax Product Filter to version 4.0

When updating YITH WooCommerce Ajax Product Filter to version 4.0, the button Convert widgets in a preset will show.

How to convert widgets into preset

By clicking on it, a modal window will open and you can decide to start the wizard or close the modal.

Start the wizard to convert widgets into preset

By closing it, you will be able to convert your widgets into a preset from WooCommerce > Status > Tools at any time.

Run filter widgets upgrade

By clicking on the Run button, your sidebar widgets will be converted into presets automatically. Sidebars won’t be changed, so, you will need to place the created preset on the page you prefer.

Next steps

After converting the widgets into presets, they will be created with the sidebar names like in the example below. These presets will be filled based on the previous configuration of filters for that specific sidebar.

Widgets converted into presets

Now, if you go to WordPress Dashboard -> Appearance -> Widgets you will find the sidebars still including the classic widgets.

How to manage classic widgets after conversion

So, if you want to move from the old widgets to the new presets, you must remove all the existing widgets from the sidebar first…

Remove classic widgets from sidebars

…then you can add the preset to the same sidebar.

Add preset to your sidebar

 

 

Variations filtering example

First of all, make sure that you have enabled the dedicated option from the General options in the plugin.

Variations filtering enabled

Let’s see an example of Variations filtering with the product below. As you can see, we have the variations S, M, L and XL, but the size M is out of stock.

Variations filtering product example

If we filter selecting only in stock products, in color black and size M, the product we’re looking for will not appear in the results because size M is out of stock.

Variations filtering no matching term

If we select to show also products in size S, it will match at least one variation now. In this case, the product will be shown in the results displaying the available matching value (size S) in the title and the corresponding price. In this way, it’s possible to directly add it to the cart:

Variations filtering matching term

If it matches more than one variation (sizes S and L in example below), you’ll need to select the options before adding the product to the cart.

Variations filtering multiple matching terms

If you want to show all the available variations as single products in the results, you can use this option with YITH Color, Image & Label Variation Swatches for WooCommerce. You can check this page to read more information about this integration.