Home Forums Basel support forum Filters

Filters

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37598

    nqpster
    Participant

    Hello,

    Can you tell me how I can deactivate the filters in top of the shop page?
    And if I want to keep it, how can I remove the sort by and price filter?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #37660

    Artem Temos
    Keymaster

    Hi,

    You can disable filters area in Theme Settings -> Shop. If you want to remove default filters, add the following code snippet to the functions.php file in your child theme

    add_filter( 'basel_use_custom_price_widget', '__return_false', 10 );
    add_filter( 'basel_use_custom_order_widget', '__return_false', 10 );

    Regards

    #37669

    nqpster
    Participant

    Thanks!

    #37673

    nqpster
    Participant

    And another thing. I had like to change some things that are in english. Like for the search, its in english and the my account/logout too. The “All” in categories aswell. Where can i change it? Because i need to put it in french.

    I add a pic so you can see 🙂

    Attachments:
    You must be logged in to view attached files.
    #37734

    Artem Temos
    Keymaster

    You can translate all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=tAFq1yTfWfU

    #39917

    darkblack
    Participant

    You can disable filters area in Theme Settings -> Shop. If you want to remove default filters, add the following code snippet to the functions.php file in your child theme

    add_filter( ‘basel_use_custom_price_widget’, ‘__return_false’, 10 );
    add_filter( ‘basel_use_custom_order_widget’, ‘__return_false’, 10 );
    Regards

    I have disabled in the shop settings and also added the filters. But they dont seem to go away. Refer attached. I dont want the drop down list at all. Please advice

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #39954

    Artem Temos
    Keymaster

    Hi,

    Try to use this code to disable this default sorting widget as well

    remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

    Regards

    #40006

    darkblack
    Participant

    Works great. Thanks a lot!

    #40019

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 9 posts - 1 through 9 (of 9 total)