Home › Forums › WoodMart support forum › Stop Close after click
Stop Close after click
- This topic has 9 replies, 2 voices, and was last updated 4 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
June 8, 2020 at 12:41 pm #201728
scholtobosParticipant— Please, can I get an answer from Aizaz or Artem? I wasn’t happy with the quality of Elises support several times —
Hi Aizaz and Artem,
You offer Stop close after click functionality for filters above products (see screenshot). Unfortunately my filters aren’t in sidebar instead of above. On mobile and tablet this sidebar is hidden and closes automatically after clicking.
Could you provide me a snippet to prevent closing sidebar automatically?
Kind regards,
Attachments:
You must be logged in to view attached files.June 9, 2020 at 6:12 am #201879
Artem TemosKeymasterHello,
This option works for the filters area only. There is no “close” mechanism for our sidebar at all. Only for the off-canvas sidebar but there is no option for the off-canvas sidebar separately.
Regards
June 9, 2020 at 10:29 am #201987
scholtobosParticipantHi Artem,
Thanks for your answer. I noticed it only works for filter areas.
Is there a way to prevent off-canvas bar for closing after each click? I only need a snippet to block this. It’s very annoying for visitors to open the bar again after each action. See screencast: https://screencast-o-matic.com/watch/cY1Q6YC6H5
June 9, 2020 at 11:29 am #202015
Artem TemosKeymasterBut in such case they will not see any actions on filters click. Sorry, but there is no such option in our theme, unfortunately.
June 10, 2020 at 12:40 pm #202371
scholtobosParticipantI’m sorry man. But how can it be possible to force users to open the hidden sidebar with a minimum of 3 times if they want to select 1 color, 1 size and 1 brand on your own demo page like this one: https://woodmart.xtemos.com/product-category/furniture/
How frustrated for users can you make it for potential customers if they want to select multiple colors and brands on a mobile/tablet device. Then they have to open the sidebar 7, 10 or maybe 12 times? That’s really user unfriendly.
There is really nothing in my head which can legimitize your answer.
June 10, 2020 at 12:56 pm #202377
Artem TemosKeymasterYes, but WooCommerce filters work in such a way that after each filter link click the page is fully reloaded. So there is no option to select 1, 2 or 3 filters and then apply them. That is why, customers should see this “change in products” after each filter link click. If you will not close the hidden sidebar (that overlaps products) then customers will not see any changes and will be confused more.
June 10, 2020 at 1:35 pm #202401
scholtobosParticipantYes, I know about that Woocommerce part. Very annoying for me (and you), because there isn’t one big webshop in the world anymore that filters this way.
About that “change in product”. I doubt that, but ok. I understand. Can you please give me a hint which part of the script is firing the auto-close? Then I will fix and test it myself.
Thanks in advance.
June 10, 2020 at 1:49 pm #202402
Artem TemosKeymasterActually, there is no “auto-close” code for this sidebar at all. AJAX call reloads both products area and the sidebar too. That is why it just becomes closed when all the new HTML is loaded with AJAX as it is sidebar’s initial state.
June 10, 2020 at 4:21 pm #202452
scholtobosParticipantOk. I understand. What ajax file are you talking about? I will look if I can hire a programmer to find a solution.
June 11, 2020 at 6:04 am #202565
Artem TemosKeymasterAll AJAX calls are coded in our
js/functions.js
file. PHP code located in different places but WordPress developer will be able to find all these parts. Contact us if you will have any questions. -
AuthorPosts
Tagged: hidden sidebar, Stop close
- You must be logged in to create new topics. Login / Register