[woocommerce_checkout] shortcode causes 503 error

Hi there,

When using the [woocommerce_checkout] shortcode in a Content Builder page I’m getting a 503 error on the frontend page. The page works fine without the shortcode, or when the shortcode is in a normal page.

Is this a known issue? I have tested for plugin conflicts and other issues but can’t seem to solve this.

Thanks!

Some extra details: This issue only affects the checkout shortcode, cart works fine. It also seems to have started occurring quite randomly.
When I directly import an old page template which has the shortcode in it and save that without editing/moving (classic elements), the issue does not occur. After editing, it does.

Apologies for the repeated messages, but I have found the issue:

I found that when unsetting the Terms & Conditions page in WooCommerce settings the page with the checkout shortcode did work. My Terms & Conditions page was made using the Content Builder. When copying the contents into the regular WordPress editor and resaving the page, as well as resaving the WooCommerce settings, the shortcode would work in the Content Builder.

So, in my case:
A terms & conditions page made in the Content Builder and set in WooCommerce caused the [woocommerce_checkout] shortcode to cause a 503 error in the frontend when used in the Content Builder.

And it only took me 3 hours to discover…

Hi there,

Thanks for sharing, and yes, you shouldn’t use [woocommerce_checkout] along with the builder. That shortcode implementation is different from other standard shortcode and may cause loop.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.