Home Forums Basel support forum Remove SORT BY and set NEW FILTERS

Remove SORT BY and set NEW FILTERS

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #18967

    [email protected]
    Participant

    Hi!

    Already make the changes to the attributes as shown in your Youtube video but on the page /shop only appears the default filters of popularity, price, etc.

    Ask your help to remove these criteria and add completely new ones more related to the categories of my products

    #18970

    Artem Temos
    Keymaster

    Hi,

    Try to add the following code snippet to the functions.php file in the child theme to remove these filters

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

    Regards

    #18975

    [email protected]
    Participant

    But i want set other topics for the filters. Example: Witch Hat in Accesories Topic
    thank’s

    #18987

    Artem Temos
    Keymaster

    Hi,

    You can add additional filters to that area in Appearance -> Widgets.

    Regards

    #19022

    [email protected]
    Participant

    I already did but it did not work

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

    Artem Temos
    Keymaster

    Please, send us your admin access so we can check it.

    #19058

    Cbridals
    Participant

    I have the same question today. I was able to set the new filters, which work, and I was able to remove the “Default Sort By,” but only on the main category landing page. The subcategory pages are still showing the “Default Sort By” as well as my new filters.

    How can I remove the “Default Sort By” from the subcategory pages?

    Thank you!

    #19060

    Artem Temos
    Keymaster

    Hello,

    This article should help you to remove this filter https://businessbloomer.com/woocommerce-remove-default-sorting-dropdown/

    Regards

    #19064

    Cbridals
    Participant

    Thank you, but his code did not work.

    #19065

    Artem Temos
    Keymaster

    In this case, we need to see your website live to understand why that dropdown is not removed. We can’t guess without looking at it.

    #19172

    [email protected]
    Participant

    Hi!
    How going my ticket?

    Thank’s a lot

    #19177

    Artem Temos
    Keymaster

    Hi,

    As we wrote you, we need to see your website live to understand the problem. Do you have a link to your website?

    #19235

    Cbridals
    Participant

    Link below. The site isn’t live yet.

    #19236

    [email protected]
    Participant

    Attached

    #19242

    Artem Temos
    Keymaster

    Hi,

    We don’t see default sorting widget on the website at the moment.

    Regards

    #19246

    Cbridals
    Participant

    If your reply was for me, please see below.

    #19248

    Artem Temos
    Keymaster

    Hi,


    @Cbridals
    , we don’t see them on your subcategories too.

    Regards

    #19249

    Artem Temos
    Keymaster

    @[email protected] Did you add widgets to the filters area? Can you please send us your admin access so we could check it?

    #19250

    Cbridals
    Participant

    Please see my screenshot, taken this morning.

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

    Artem Temos
    Keymaster

    Please, provide your FTP access so we can check why the code is not working.

    #19254

    [email protected]
    Participant

    sent

    #19258

    Artem Temos
    Keymaster

    Hi,

    We see that you have added the widget but you don’t have any products added to that attribute.

    Regards

    #19414

    [email protected]
    Participant

    OK, but why still appear the other itemes (deault, popularity, average rating, newness, etc). Which atribute you mean?
    thank’s a lot

    #19421

    Artem Temos
    Keymaster

    Sorting widget can be removed adding the following code snippet to the functions.php file in the child theme

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

    If you want to use filter by some attribute (you have already added layered navigation widgets to that area) then you need to have some products attached to that attribute.

    Regards

    #19678

    [email protected]
    Participant

    Please, help me with edit the functions.php i canĀ“t doit
    thank’s

    #19685

    Artem Temos
    Keymaster

    We have answered your question in another topic.

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