Home › Forums › Basel support forum › Remove SORT BY and set NEW FILTERS
Remove SORT BY and set NEW FILTERS
- This topic has 25 replies, 3 voices, and was last updated 7 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
September 6, 2017 at 5:04 pm #18967
[email protected]ParticipantHi!
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
September 6, 2017 at 5:51 pm #18970
Artem TemosKeymasterHi,
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
September 6, 2017 at 11:19 pm #18975
[email protected]ParticipantBut i want set other topics for the filters. Example: Witch Hat in Accesories Topic
thank’sSeptember 7, 2017 at 8:06 am #18987
Artem TemosKeymasterHi,
You can add additional filters to that area in Appearance -> Widgets.
Regards
September 7, 2017 at 3:42 pm #19022
[email protected]ParticipantI already did but it did not work
Attachments:
You must be logged in to view attached files.September 7, 2017 at 8:26 pm #19024
Artem TemosKeymasterPlease, send us your admin access so we can check it.
September 8, 2017 at 2:38 pm #19058
CbridalsParticipantI 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!
September 8, 2017 at 2:54 pm #19060
Artem TemosKeymasterHello,
This article should help you to remove this filter https://businessbloomer.com/woocommerce-remove-default-sorting-dropdown/
Regards
September 8, 2017 at 3:25 pm #19064
CbridalsParticipantThank you, but his code did not work.
September 8, 2017 at 3:37 pm #19065
Artem TemosKeymasterIn 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.
September 11, 2017 at 2:45 pm #19172
[email protected]ParticipantHi!
How going my ticket?Thank’s a lot
September 11, 2017 at 3:29 pm #19177
Artem TemosKeymasterHi,
As we wrote you, we need to see your website live to understand the problem. Do you have a link to your website?
September 12, 2017 at 3:04 pm #19235
CbridalsParticipantLink below. The site isn’t live yet.
September 12, 2017 at 3:04 pm #19236
[email protected]ParticipantAttached
September 12, 2017 at 3:23 pm #19242
Artem TemosKeymasterHi,
We don’t see default sorting widget on the website at the moment.
Regards
September 12, 2017 at 3:48 pm #19246
CbridalsParticipantIf your reply was for me, please see below.
September 12, 2017 at 4:09 pm #19248
Artem TemosKeymasterSeptember 12, 2017 at 4:11 pm #19249
Artem TemosKeymaster@[email protected] Did you add widgets to the filters area? Can you please send us your admin access so we could check it?
September 12, 2017 at 4:16 pm #19250
CbridalsParticipantPlease see my screenshot, taken this morning.
Attachments:
You must be logged in to view attached files.September 12, 2017 at 4:18 pm #19252
Artem TemosKeymasterPlease, provide your FTP access so we can check why the code is not working.
September 12, 2017 at 10:08 pm #19254
[email protected]Participantsent
September 13, 2017 at 6:24 am #19258
Artem TemosKeymasterHi,
We see that you have added the widget but you don’t have any products added to that attribute.
Regards
September 14, 2017 at 2:35 pm #19414
[email protected]ParticipantOK, but why still appear the other itemes (deault, popularity, average rating, newness, etc). Which atribute you mean?
thank’s a lotSeptember 14, 2017 at 5:23 pm #19421
Artem TemosKeymasterSorting 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
September 18, 2017 at 1:23 pm #19678
[email protected]ParticipantPlease, help me with edit the functions.php i canĀ“t doit
thank’sSeptember 18, 2017 at 1:49 pm #19685
Artem TemosKeymasterWe have answered your question in another topic.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register