Mini Cart toggle not working

Hi Bricks Community,

I was developing a staging site with bricks and it was working fine. Today I find out that the mini-cart icon toggle is no longer working. I try to investigate by disabling all plugins and removing any custom code in functions.php but still the mini-cart icon don’t show the item and woocommerce JS may be not working. Hosting has no caching plugin. Tested it in Firefox and Chromium browser and it is the same, not working.

Any one have any idea what happened?

Thanks
Shahi

Have you double checked the staging server’s PHP and wordpress memory?
https://academy.bricksbuilder.io/article/requirements/

1 Like

@mr.tyree Thanks for your concern. I don’t think it is PHP and WordPress memory issue.
Here is my Cpanel settings and WordPress setting screenshot.

This problem happened after updating some plugin and I forgot which plugin I did update.

I will be happy to give access to Bricks team to check the site.

The same is happening with my under-development site, but only for tablet and mobile devices.
Check this Facebook post, @davidovmihail provides one solution.

1 Like

@masoodalam51 Thanks,

I just solved it by myself.

Silly of me. I added the mini-cart to three responsive menus, like Desktop, Tab and Mobile.

The solution is that I have kept only one mini-cart and make the rest of the menu part responsive and show/hide as needed.

Thanks to everyone.

Great, but my design requires two different header

  1. Desktop
  2. Tablet and Mobiles

Still looking for fix.

@masoodalam51 Your problem and my problem are not same. See the image below to understand what was my original problem.

This is how I solved my problem.
But yours is cart element showing it in correct way in tab or mobile view and that need CSS modification with media query.

I face a problem like the last image, it’s not shown on mobile and tablet devices. I will try just one menu, hope it solve the problem.

@masoodalam51 Did it worked for you?

Yes. Thanks for the hint

1 Like

You are most welcome. I happy that it work for you. :slightly_smiling_face: