URL: https://kamadogourmet.com/checkout/ Child Theme: SNN-BRX 0.240 (not related, as the issue persists when switching back to vanilla Bricks Builder theme)
Something weird is going on with our WooCommerce Checkout page. The checkout template doesn’t seem to be applying to the page, even the WordPress editor version isn’t showing up. Instead, I am getting a blank page unless I add the Checkout page content from the Checkout Template to the checkout page itself in Bricks. It’s almost like the page is showing the Bricks version even when there is no content.
Can you double check if your checkout page is correctly set up? You should remove all Gutenberg blocks, and use shortcode ( [woocommerce_checkout]) instead: Checkout (WooCommerce) – Bricks Academy
Also, make sure that the template type is correctly set to WooCommerce Checkout.
If that does not solve it, then it would be great to have a login access, but we have not received it yet. Also, if you have a staging website, we prefer a staging one
TLDR; Render with Bricks causing the issue. Is this expected behavior? If so, please add it to the documentation. Thanks!
Before Solving the Problem:
This is what I can verify:
I have one WooCommerce - Checkout template.
I have one WooCommerce Checkout page.
I don’t have anything in the WordPress editor for the Checkout page except a shortcode element containing [woocommerce_checkout].
I have used the Health Check & Troubleshooting plugin to verify that this isn’t a plugin incompatibility. (Using the plugin, I only activated WooCommerce with Bricks Builder, same issue).
After Solving the Problem:
Found the problem! I’m not sure if this is a bug, or expected behavior, but if you visit the Checkout page on the front end and select Render with Bricks in the admin bar, it will try to render the Checkout page’s Bricks content. As I have no Bricks elements on the Checkout page (that content is in the Checkout template instead), it shows an empty page.
With Render with Bricks turned on, saving the Checkout page in the WordPress editor no longer automatically switches the Checkout page to Render with WordPress, so no matter what I add to the Checkout page in WordPress (like [woocommerce_checkout]), nothing appears to happen.
It was only once I went to the front end Checkout page and manually switched it back to Render with WordPress that the Checkout page, as overwritten with my Bricks Checkout template, appeared!
Just to clarify, things were working for months before this became an issue. There are two things I think that could have caused this to be an issue:
Absentmindedly switching the page to Render with Bricks. (Not as likely)
It was set to Render with Bricks for a long time, but up until recently it made no difference for the Cart and Checkout pages. Perhaps recent Bricks versions got rid of a check to always Render with WordPress if a Bricks Checkout template was present?
In addition, I had the same issue with the Cart page, but I fiddled around enough that I was able to fix that first. At the time I wasn’t sure what I did that actually fixed it, so I couldn’t replicate the solution for the Checkout page.
Unfortunately this is a very low-traffic website, so I didn’t notice the issue until recently, and can’t say exactly when the issue first began.
thank you for your description, it makes sense. But I can’t replicate the issue locally, not with 1.12.4 and not with 2.0.
As you already solved it, I’ll mark this topic as no-bug, but I’ll investigate a bit more, to see if I’ll be able to figured out a reason.