Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #1548179
Filterable Settings > Categorie
Closed

Comments

  •  3
    Harinder started the conversation

    Hello

    I don't want to have all the products to be shown in one category "All (Alle)". I would like them to appear in their assigned categories only. For example all the breads in "Bread", all the Pizzas in "Pizza" and so on. 

    Is it possible to remove "All" from the Filterable Settings > Categories without shifting all the products to the next available category label?

    Because when I am deleting "All (Alle)" category from the Filterable Settings, it is shifting all the products to "Bread (Brote)" category.

    http://www.schweglerbeck.ch/produkte-2/

    Best regards

  •  228
    Milingona replied

    Hello,

    You can fix that by pasting the following code in Bakery > Custom Code > Custom CSS:

    .vu_filterable .vu_f-filters.vu_f-filters-style-2 .vu_f-filter[data-filter="*"] { display: none !important; }

    'All' category will be removed and the other categories won't be affected.

    Best,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •  3
    Harinder replied

    Hello

    Thank you for the code. But it is not solving the purpose. Now the first time when Product Page is loading all the products are appearing in the first Product Category. which in my case is Bread. Only upon clicking on Bread Category it shows the products related to Bread Category only.

    Regards

  •  3
    Harinder replied

    Could you please provide some other solution. For the moment I have removed that piece of code.

    Best regards

  •  3
    Harinder replied

    Dear Milingona Team

    I am having some pressure on me, could you please help?

    Best regards

  •  228
    Milingona replied

    Hello,

    Sorry for the late response! We need to take a closer look at your site so could you please share with us the credentials and we will see what we can do for you.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •  228
    Milingona replied

    Hi again,

    Please modify line 1190 of 'wp-content/themes/bakery/assets/js/main.js' file:

    filter: '*',

    with the following:

    filter: '.591c75b9a7ca497e4d3b17049e05d2d3',

    That should fix the issue!

    Kind regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •   Harinder replied privately
  •   Milingona replied privately
  •   Harinder replied privately
  •  228
    Milingona replied

    It worked this time! Commented also line 39 of 'wp-content/plugins/bakery-shortcodes/shortcodes/filterable.php' file to fix the issue. So please check the site and let us know your feedback.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •  3
    Harinder replied

    Unfortunately the problem is still there. Now it is showing all the products in "Bread" (Brote) category. Which is even more bad. Only after clicking on "Brote" all unrelated products are getting disappear. Could you please fix this issue asap.

    Thanks and regards!

  •  228
    Milingona replied

    You should just wait until the page is completely loaded. Once the page is loaded, everything is working fine on our side. Can you please confirm if that is NOT the case on your side.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •  3
    Harinder replied

    Yes it is working fine now! Great support. Thank you very much! :)

  •  228
    Milingona replied

    You're more than welcome! Always happy to help you.


    Milingona Support

    Follow on     Envato     Facebook     Twitter