Advanced product filters - bundled plugin

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme August 16, 2021
Login to reply
Jean-Philippe Ghyoot
2 years ago

Perhaps useful to other Re-hub users which need to hide mobile bar when using 3rd party product filters on ajax mode.

jQuery('#rh_woo_mbl_sidebar').removeClass('activeslide');

jQuery('.offsetnav-overlay').remove();

Igor Sunz Support Agent
2 years ago

Mobile sidebar is for regular woocommerce filters. If you want to use
custom third party plugins, you need to disable it

Чт, 26 авг. 2021 г. в 21:30, Sizam Support Help Desk <
sizamtheme+YbXDP1ewDAb16nMK0EWL@mail.support-hub.io>:

Jean-Philippe Ghyoot
2 years ago

Thank you.  

Is this something I can get a developer to investigate?  or is it absolutely not possible to make mobile sidebar close after using ajax option in 3rd party product filter plugin.  

P.S - I like the re-hub sidebar and the way it works.  No desire to hide it ;)

Igor Sunz Support Agent
2 years ago

there is no such script. 

here is code to hide mobile sidebar button

#mobile-trigger-sidebar{display:none !important}

you can place this in theme options - general options - custom css

Jean-Philippe Ghyoot
2 years ago

Thanks it worked well.

I know you mentioned it wont work for my purpose but can you please share the Js script used to hide the mobile sidebar when you click on main page while bar open?  see video of action I am talking about https://www.loom.com/share/b353d9a7750d4b9bb473b40d627d2cf3

Igor Sunz Support Agent
2 years ago

e use regular jquery script for this

$('html, body').animate({scrollTop:0}, '300');

Jean-Philippe Ghyoot
2 years ago

Place in product filter plugin where script can be added after ajax redraw products in background https://www.dropbox.com/s/4v11t86act5csjn/Screenshot%202021-08-21%20at%2016.38.11.png?dl=0

Example applications - move back to top of page after click pagination on shop page or hide mobile off canvas menu bar after attribute filter.

Jean-Philippe Ghyoot
2 years ago

Thanks for the advice


If using product filters and ajax mode (I am trying woof now - as product filter from X plugin have issue with their vendor filter), when product page refreshes, the user is not navigated to top of page like native re-hub/woocomerce https://www.loom.com/share/1708af7e70f04538a2d22d07900d4dfd.


WOOF Product filter author request re-hub script to move user to top of page after shop page refresh. It can be inserted in special place on their plugin to run after ajax refresh . Are you able to share this script please?   

Igor Sunz Support Agent
2 years ago

Filter by brand is in our TODO list

Filter by vendor, better to ask this from support of vendor plugin which
you use, I guess, they have such widget

Сб, 21 авг. 2021 г. в 08:16, Sizam Support Help Desk <
sizamtheme+YbXDP1ewDAb16nMK0EWL@mail.support-hub.io>:

Jean-Philippe Ghyoot
2 years ago

Do you offer development?  What would you charge to write me a sidebar filter widget in shop pages to filter product by dokan vendor? and a filter by brand? 

Jean-Philippe Ghyoot
2 years ago

Ok thanks will try that. 

unfortunately the Ajax option is working well for quick loading.

Igor Sunz Support Agent
2 years ago

You can disable Ajax in options of plugin

Пт, 20 авг. 2021 г. в 13:00, WP Soul :

Igor Sunz Support Agent
2 years ago

You can’t use Ajax and sidebar in the same time. Sidebar will not be closed
on Ajax reload so it has no sense

Пт, 20 авг. 2021 г. в 12:36, Sizam Support Help Desk <
sizamtheme+YbXDP1ewDAb16nMK0EWL@mail.support-hub.io>:

Jean-Philippe Ghyoot
2 years ago

Thank you

Could you please send me the JS script that hides the mobile side bar?  https://www.dropbox.com/s/hb47154g94uh8ch/Screenshot%202021-08-20%20at%2011.34.58.png?dl=0

It is something I need to run after the product filter has refreshed products in ajax mode, as the page does not refresh to close it like normal.

Igor Sunz Support Agent
2 years ago

Vendor and user are not taxonomy. It’s users. You need to use store list
shortcode of you vendor plugin if you want to build search by vendors

Ср, 18 авг. 2021 г. в 00:09, Sizam Support Help Desk <
sizamtheme+YbXDP1ewDAb16nMK0EWL@mail.support-hub.io>:

Jean-Philippe Ghyoot
2 years ago

Thank you I will contact them. 

Does Rehub theme have widget for shop sidebar to filter by taxonomy of “author’, or more specifically filter product by the “vendor” id of dokan? 

Igor Sunz Support Agent
2 years ago

sorry, but we don't provide support for third party bonus plugin, it's
provided as is. You can use regular woocommerce filters or buy license and
support of this bonus plugin and make bug report to author

Jean-Philippe Ghyoot
2 years ago

Hi

I am testing the advanced product filters bonus plugin added to theme.  It works great but after a while the following happens.  All other filters disappear on shop sidebar and a duplicate of product categories appear? https://www.dropbox.com/s/qgfljb8115xb3qs/Screenshot%202021-08-16%20at%2010.23.52.png?dl=0 

The whole plugin needs to be reset and start again to rectify this problem.  But it has happened a few times. 

Current filter presets https://www.dropbox.com/s/0yfiys92fj6f8we/Screenshot%202021-08-16%20at%2010.21.49.png?dl=0    But as per screen shot only duplicate of product category remain.

Any suggestions?

Additional Info

Link on page with issue: N/a