Blank Checkout Page - Woocommerce

It seems that placing the [woocommerce_checkout] shortcode within the Pro Editor no longer works.
I tried it the Text, Content and Classic Raw Content elements each one just shows me a blank white checkout page.

I created a new checkout page and added the shortcode in the standard way outside of Pro editor and the page showed.
Then I tried to add the shortcode within the Pro editor on that same new page and it didn’t work. Now when I revert back to placing it on the page outside of Pro editor the page is still blank.

Why can’t I add the [woocommerce_checkout] shortcode to a Pro page?

It was working in a previous version of Pro.

http://146.66.100.120/~traillif/shop/

Hello Jonathan,

Thanks for asking. :slight_smile:

I checked the website and added products into the cart then proceeded to checkout page and I can see the checkout page form. I inspected the page and it seems that you are not using Content Builder to display the checkout form. In that regards, please try out following solutions:

  1. In dev tools I see that you are using WooCommerce version 3.4.7. As of today the supported version of WooCommerce is 3.4.5. In that regards I suggest you to downgrade to the supported version of WooCommerce to avoid any compatibility issues. https://github.com/woocommerce/woocommerce/releases/tag/3.4.7
  2. Test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
  3. Remove custom CSS and Javascript from the options or Child Theme and test the case.

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thank you.

Yes, I read somewhere else that this shortcode doesn’t work inside of the Pro editor for some reason, so I took it out.
Is this true in 3.4.5?

Thanks.

Hi Jonathan,

I could not find any bug reports on this. Also make sure to that you’re running PHP v5.6.x or later to avoid incompatibility issues.

If you’re getting a blank screen, it usually means a PHP fatal error. I would suggest you to enable WP_DEBUG mode by following this guide (https://codex.wordpress.org/WP_DEBUG) and then revisit your checkout page, so that it will display any PHP errors on the screen.

Thanks!

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