This is weird. We have this live site that uses woocommerce for a small shop. This works fine (without BB). For another part of the site, we want to user BB + Pods to make a nice pods lay-out.
So then this happens:
When BB is activated (just activated, nothing done), the woocommerce cart is empty and stays empty. When we add a product it says “is added” (without any product name) and the cart show empty.
When BB is deactivated, the add product button works like before.
So, we don’t even want to use BB with woocommerce, only with a pods archive. Has anyone encountered this before?
Sure. The site is https://honigbreethuis.nl. It runs on a child theme of Baskerville, quite a basic theme, that we heavily override in the child. For woocommerce we have two small plugins and some overloaded code (hooks) and templates. No caching plugin.
So this brought me to an idea: I’ve remove all our coded hooks and this helps to keep the cart filled (although the ‘add to cart’ button is gone). So let me try and debug this further, I’ll keep you posted.
I just debugged all our woocommece hooks and filters, and this one did it. The developer who made this part (this was before we moved to BB) hooked a generic gettext filter to change the translation of ‘Total’ in woocommece, but forgot to check to domain:
With BB active, gettext is also called for text ‘Total’ with domain fl-builder. The code above returns some other text (longer? with parenthesis?) This somehow crashes the woocommerce cart shortcode in combination with BB.