PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Mobile filter not working with woof_mobile_btn_place_container

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi there!

I'm trying to get the filters working for mobile, but unfortunately the code example as below does not seem to work. I have created a class"mobile_filter" and placed it on our product category page. However, it still shows the 'old' mobile filter icon. I have turned mobile off in the widget area and automatic filter on in the settings area. I hope you can help me out with this.

The expected result:

I want to place a filter icon on a custom location on our category page.

 

Site:

 

add_filter('woof_mobile_btn_place_container', function ($selector) {

$selector = '#mobile_filter';//your id or css class (.my_woof_btn_place)

return $selector; });

Thanks in advance!

hello

Are you using the free version of the plugin?

Try  to  use  this  shortcode - https://products-filter.com/shortcode/woof_mobile

Thank you for your response. I have tried using this shortcode, however the filter icon is always shown in the same page. When I try to put it in the text above for example, it does not work.

Hello

Ok! Please  paste  this  shortcode  and  drop  me  a link  to the  issue. I  will check  it

Thank you! Example URL:

 

I have placed the tag between the text: Above tag Below tag. As you can see the icon only shows below the text.

 

 

Hello

Are you using the free version of the plugin?

Yes, currently we are using the free version to discover the possibilities (e.g. mobile user experience). Is this a premium feature?

Hello

Ok! Please delete this version  and install new version from - https://wordpress.org/plugins/woocommerce-products-filter/

all settings will be saved

check option - https://share.pluginus.net/image/i20230403113921.png

Hi there,

I have just followed your steps, but unfortunately it still does not work. I also disabled the option you mentioned. I do see the div (with class woof_show_mobile_filter_container) being entered, but it is empty.

Link (below test):

Hello

Please  activate  it(widget settings) -  https://share.pluginus.net/image/i20230404234613.png

Hiya,

I do see the 'Open filter' button now! However, I currently see it twice and pressing it does not seem to work. Sorry for the inconvenience, but is there anything else I could try? The rest of your plugin works great.

Hello

 Sorry for the inconvenience, but is there anything else I could try?  - Yes! But the reason is that you configured it incorrectly.

Now you have inserted two filters on one page, please insert one

Add CSS -

@media only screen and (max-width: 767px) {
body .et-db #et-boc .et-l .et_pb_sidebar_1_tb_body {

display: block !important;

}