• Resolved Marc Nilius

    (@zottto)


    Hi,

    I have a very strange behaviour with Ninja Firewall on a WooCommerce site with the theme “Mr. Tailor”. This theme has an off canvas shopping cart widget. And although products were added to the cart, this off canvas widget shows “no products”. If I turn off Ninja Firewall, everything works as expected.
    Even more strange, Ninja Firewall shows no blocked requests in the log. I have no idea what part of Ninja Firewall is blocking the shopping cart widget.

    How can I proceed here to get the shop working again correctly with Ninja Firewall?

    Thanks,
    Marc

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Hi,

    If there is nothing in the log, it can be a policy from the “Firewall Policies > HTTP response headers” section. Maybe you enabled “Force HttpOnly flag on all cookies to mitigate XSS attacks” and your widget uses JS to read the WooCommerce cookie?
    In that case, the request would be blocked by your browser. You can enable your browser console (CTRL + Shift + j ), blocked requests will be displayed.

    Thread Starter Marc Nilius

    (@zottto)

    Hi!

    Although there were no blocked requests visible in the dev tools, disabling the mentioned option worked for me.

    Thanks for your help and fast reply!

    Marc

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘With Ninja Firewall WooCommerce shop shows empty cart’ is closed to new replies.