Product Variations are not displaying correctly with filters

This topic has 4 replies, 2 voices, and was last updated 3 years, 1 months ago ago by Olga Barlow

  • Avatar: fabio_vito
    Fabio
    Participant
    October 21, 2021 at 11:54

    Hello there,
    I am currently using the Yith ajax product filter for the price and color filtering. The filtering of the products is not working as it is supposed to be. Please find the steps followed below:
    Case 1:
    1. Disable “Show variations as simple product” under Variable product settings.
    2. Navigate to the shop page
    3. Choose any color from the color filter.

    Result:
    The filter is displaying the default form value of the variations ( the default product chosen under the variable product).
    Expected:
    The variation with the particular color chosen in the filter must be displayed.

    Case 2:
    1. Enable “Show variations as simple product” under Variable product settings.
    2. Navigate to the shop page
    3. Choose any color from the color filter.

    Result:
    The products with the chosen color are displayed, but the products are having different size attributes and all those size variations are also displayed.

    Expected Result:
    The products with the chosen color are to be displayed, but the variations depending on other attributes must be hidden.

    For example: If I am having a vase in red and green color with different sizes such as small and medium, when I filter with the green color I should only see the vase in green color that too once. Here I am seeing the green vase twice as I am having two size variations.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 21, 2021 at 13:28

    Hello,

    “Show variations as simple product” option displays all the variations of the variable product as the single products on the shop page. For example, if you have product with 2 colors and 2 sizes you’ll get 4 simple products on grid (every color with every size).

    Case 1. If you filter by color and the option is disabled then you’ll get the variable product as a result of your filter. You won’t get a variation on the grid, only the default variable product that has mentioned variation.

    Case 2. If you enable the option and filter by the color you’ll get all the possible variations with this color because this is what that option does: splits the variable products into a few simple products on the frontend. You have also option “Hide Parent Product Of Variations” in this case you’ll get only variations on the frontend. If “Hide Parent Product Of Variations” option is disabled then you’ll get parent product (your variable product) + all the variations you have.

    Besides, our theme comes with an Ajax filter option and variation swatches, so there is no need to use third-party plugins.

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    October 22, 2021 at 10:02

    Thank you for your response.
    But there is no meaning in displaying the same product with different sizes on the shop page or the catalogue. Is it possible to have an option at the product variations (backend) to hide certain variations so that I will be able to hide the variations regarding the size and can display the ones based on color?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 22, 2021 at 12:54

    Hello,

    We don’t have such options, unfortunately. You may try to look for another plugin that allows to split variable products and check if they have the option to hide some variations.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.