Home › Forums › WoodMart support forum › Filters
Filters
- This topic has 17 replies, 3 voices, and was last updated 6 years, 10 months ago by
Artem Temos.
-
AuthorPosts
-
April 10, 2018 at 12:07 pm #51829
Stanley BlackParticipantHi,
I want to display woodmart woocommerce layered widget on page.
Does it exist shortcode to copy in WPbakery page builder?Kind regards
April 10, 2018 at 2:26 pm #51850
Elise NoromitMemberHello,
No, it is the functionality of WooCommerce available on the shop page only. WP Bakery builder does not have an element for that.
Best Regards
April 11, 2018 at 7:50 am #51950
Stanley BlackParticipantThanks for your response.
I want to change layout of category product page(place sidebar content on top page not in sidebar).
In wich file I can do this. Can you provide me a path?
Kind regards
April 11, 2018 at 9:33 am #51975
Elise NoromitMemberHello,
You can place filters in the top of the page setting “Enable shop filters widget’s area above the products.” in Theme Settings > Shop > Shop filters
In this case, shop filters will be on the top both shop page and category page.
Best Regards
April 11, 2018 at 10:08 am #51983
Stanley BlackParticipantThank you!
Where I can modify layout for “Enable shop filters widget’s area above the products.”?
(path to file)I want to filters box always be visibile.
Also to put SORT BY and PRICE FILTER in dropdown.
Kind regards
April 11, 2018 at 11:19 am #51989
Stanley BlackParticipantTo be more precise, I want to filters widget’s area above the products always be open.
Also to put SORT BY and PRICE FILTER in dropdown such as WOODMART WooCommerce Layered Nav.
Best regards
April 11, 2018 at 2:29 pm #52015
Elise NoromitMemberHello,
Theme Settings allow put filter above the product. Filter is closed by default. We can make it open with custom CSS.
As for other widgets there is no option to add them.
Best Regards
April 12, 2018 at 7:19 am #52080
Stanley BlackParticipantHello,
Can you provide me custom css to open filter above the product?
If I want to make changes on layout filter above the product,
is this a file path \themes\woodmart\inc\woocommerce.phpKind regards
April 12, 2018 at 11:17 am #52137
Elise NoromitMemberHello,
Add this custom CSS to Theme Settings > Custom CSS > Desktop
.filters-area{ display:block!important; }
As for layout filter please, provide us a screenshot of the area you would like to change so we can give you a right file to edit.
Best Regards
April 12, 2018 at 2:56 pm #52198
Stanley BlackParticipantHi,
1.Custom css not working. It’s only add new blank space(capture1.png) and filters are still closed.
2.I want to put SORT BY and PRICE FILTER in dropdown such as WOODMART WooCommerce Layered Nav
(capture2.png).Attachments:
You must be logged in to view attached files.April 12, 2018 at 2:56 pm #52200
Stanley BlackParticipantSorry,
cant add two attachments.
2.I want to put SORT BY and PRICE FILTER in dropdown such as WOODMART WooCommerce Layered Nav
(capture2.png).Attachments:
You must be logged in to view attached files.April 12, 2018 at 3:07 pm #52204
Elise NoromitMemberHello,
You can configure filter in these files:
inc/widgets/class-widget-price-filter.php
inc/widgets/class-widget-sorging.phpIf you have any questions feel free to contact us.
Best Regards
April 12, 2018 at 3:15 pm #52207
Stanley BlackParticipantHi,
Custom css not working. It’s only add new blank space(capture1.png) and filters are still closed.
Attachments:
You must be logged in to view attached files.April 12, 2018 at 6:14 pm #52242
Elise NoromitMemberHello,
Please try this one:
.filters-area { display: block!important; } .filters-area .filters-inner-area { opacity: 1!important; } div.woodmart-filter-buttons { display:none; }
Add this custom CSS to Theme Settings > Custom CSS > Desktop
Sort BY and price filters will be added automatically.
Best Regards
April 13, 2018 at 9:14 am #52332
Stanley BlackParticipantThanks!
One more question. I want to remove SORT BY box and it can be remove by this code
#WOODMART_Widget_Sorting{
display:none;
}But now I get one blank box(capture3.png).
Kind regards
Attachments:
You must be logged in to view attached files.April 13, 2018 at 9:15 am #52334
Artem TemosKeymasterAdd the following code snippet to the functions.php file in your child theme to remove default sorting filter
add_filter( 'woodmart_use_custom_order_widget', '__return_false', 10 );
April 13, 2018 at 9:58 am #52347
Stanley BlackParticipantThank you, perfect!!!
How to do the same thing for PRICE FILTER?
Best regards
April 13, 2018 at 11:13 am #52363
Artem TemosKeymasterAdd this line also
add_filter( 'woodmart_use_custom_price_widget', '__return_false', 10 );
-
AuthorPosts
- You must be logged in to create new topics. Login / Register