• Resolved metalinedev

    (@metalinedev)


    Hello, it seems to me you are working on an excellent solution. I tested the free version of the plugin and I would like to buy the pro but I am stuck on 3 problems:

    1. I use the Blocksy theme and I set up the shop page to view the categories. I created category and price range filters. If I select a category the page reloads but the archive does not show me the products if instead I filter by price the products are loaded correctly. Is this a limitation of the free version
    2. Can the list of categories follow a custom order? Eventually even with a hook
    3. I have to manage the colors with ACF, if I add a filter with Custom Field I see the value of the field (eg. Field_6102d2b8dec58) and not the labels

    Thanks for the help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello metalinedev.

    1. Can you provide me with the link to the page, where you have problems? There is no such limitations as you described in the free version of the plugin.

    2. Yes, the terms order can be changed via hook called ‘wpc_terms_before_display‘. Here is an appropriate example https://filtereverything.pro/resources/hooks/

    3. Use please the same meta field name as you specified it in ACF field. Without underscore char at the beginning of field name “_”. You can type it manually, if you don’t see it in meta keys dropdown.

    Thread Starter metalinedev

    (@metalinedev)

    The link is the following: https://www.daunex.labs.metaline.it/prodotti/

    I add to the request: how can I translate the texts of Min price and Max price?

    Plugin Author stepasyuk

    (@stepasyuk)

    @metalinedev

    1. I checked the problem on your site and installed free version of the Blocksy theme on my own testing site. The same behavior I’ve got when I configured Customize > WooCommerce > Product archives > Product catalog > Show Categories.

    But I’m not sure what is you goal. If you want to see products you probably have to select “Show products” or “Show categories & products” for this option and filtering will work properly.

    If you want to show categories by default but products when select a filter term, you need to made some coding in Blocksy child theme and add condition which detects is filter selected or not.

    4. You can change filter term name via the hook called ‘wpc_filter_post_meta_num_term_name’ here is description of this hook https://filtereverything.pro/resources/hooks/

    Thread Starter metalinedev

    (@metalinedev)

    Thanks @stepasyuk,
    now I feel what you explained to me.

    I also ask you why I don’t see the filters on the category pages for example: https://www.daunex.labs.metaline.it/prodotti/piumini/

    • The products associated with the category exist, if I deactivate your plugin they are displayed.
    • I use your widget in the Woocommerce sidebar.
    • Debugging returns no errors
    • Disabling other plugins does not change the result
    Plugin Author stepasyuk

    (@stepasyuk)

    @metalinedev I already know about this bug and it is already solved on my side, but I will update the plugin on next week (I need to make some tests before).

    You don’t see products because you opened parent category and you expects to see products from children categoreis as it works by default in WordPress and WooCommerce.

    My plugin makes ‘include_children’ parameter ‘false’ to avoid problems with product counts in filter terms and this is a reason of the problem. For the moment you can solve it by attaching producst from child categories to its parent also.

    For example child category shows products and filters – https://www.daunex.labs.metaline.it/prodotti/piumini/piumini-in-piuma/

    Thread Starter metalinedev

    (@metalinedev)

    Thanks, I’ll wait for the update because products and categories are synchronized with a management system and I can’t associate them as you say.

    In a previous post you wrote “add condition which detects is filter selected or not.” what is the name of this condition?

    Plugin Author stepasyuk

    (@stepasyuk)

    @metalinedev you can use conditional function, that returns boolean false or true in dependance from filter request present on the page.

    flrt_is_filter_request()

    Notice, this function works correctly in theme files like header.php, index.php, category.php etc.

    Plugin Author stepasyuk

    (@stepasyuk)

    @metalinedev I’m glad to notify you that I updated the plugin and the problem with products from children categories is solved and products now are shown on their parent category pages also.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Filter products with shop page set to display categories’ is closed to new replies.