WooCommerce Cart, Checkout, and My Account pages not displaying content

I have Pro , and the Cart, My Account, and Checkout pages in WooCommerce are not displaying correctly. They are pulling the page layout from my Books product page layout, including an “out of stock” label and the product tabs (I know it’s specifically the books product layout because the shipping info in the product tabs is the text for the books). They are not showing the cart, account, or checkout content they are supposed to. In Cornerstone, I get an error message that no preview is available and the content can’t be shown.

I don’t know how long this has been going on, but they were working fine previously. I can get the correct content to show in Cornerstone’s preview, but only by re-adding the cart shortcode. Even then, it doesn’t show correctly on the front end, and it resets if I refresh the Cornerstone preview page. (More details on that below.)

Here are the things I’ve already tried:

  1. Deactivating ALL plug-ins except WooCommerce. This made no difference.

  2. Contacting VillaTheme support to see if their Woocommerce Cart All In One plug-in could be causing an issue (since it’s the only alternate cart plug-in I use). They looked at it, and they also deactivated the plug-in, which made no difference. They said they can see that those three pages are not working, but they said that it wasn’t their plug-in causing the problem.

  3. Creating a new test page (I tested using the Cart page, but the same problem persists for My Account and Checkout). When the test page is set to be the WooCommerce Cart page, the same problem happens.

When the test page is NOT set to be the official Cart page, I can only get the woocommerce_cart shortcode to work in Cornerstone’s preview by first deleting the shortcode, saving the page, and then reinserting the shortcode and saving the page. Then the content shows in preview. But it only shows until I refresh the preview, and then it returns to the error page. The content does NOT show on the front end.

I’ve made a video showing this entire process and will put the Dropbox link into a secure note for you.

  1. Making sure my plug-ins and Pro theme are up to date.

  2. Creating a test page in Wordpress instead of Cornerstone. I used Wordpress’s WooCommerce Cart block and set that page to be the Cart page in WooCommerce. It still showed the Books product page layout and no Cart content.

I don’t know what else to try for troubleshooting, so I’m hoping you are able to help. Thanks!

Hello Meredith,

Thanks for providing detailed post information. You are having this issue because you have not created a default Woo single layout. You only have these:
image

I would recommend that you create one and see how it goes.

Kindly let us know how it goes.

Thanks for the reply, Ruenel. I am not sure where to assign a “default” Woo single layout. My understanding of Cornerstone’s layouts is that you create a layout and assign the product or pages you want that layout to be used for using the Conditions under the layout’s settings.

Here’s what those layouts are for:

The Product Page Books is my current default layout for all my products in the Books category. I have different information for shipping my books so I need a separate layout for that category. (See screen shot for the Conditions I have set)

Book product layout

The Product Page Other is for my products in non-Book categories. (See screen shot for the Conditions set for that layout)

Other Products layout

The 2025 Product Page Books and 2025 Product Page Other are new layouts that I’m working on, but they haven’t been assigned yet. Consider them drafts at this point.

At your request, I did create a “Default Woo Single Layout” with these Conditions (see screenshot):

All Products
Category is not Books
Category is not Artwork
Category is not Candles

Default WooC Single Layout Test

I had to add the Category exclusions to keep this layout from showing on my live site. This had absolutely NO effect on the Cart page. (See screenshots)

Cart page on Live Site

I added a Condition to this new “default” page of Cart Is Being Viewed. That did indeed show the new layout, but it still is not showing the Cart contents. I didn’t go through this process for My Account and Checkout because I am assuming it would be the same story there. (See screenshot)

Cart Condition added to Default Single Layout

Cart Page In Cornerstone with New Layout Applied Still no Content

Maybe I misunderstood your suggestion, but my problem isn’t the layout. I already designed the layout for that page in Cornerstone back when it was still working properly. You can see that layout in the previous video I gave you. My problem is that the Cart content itself is not showing, even though that page has a Raw Content element with the correct Cart shortcode in it. It is instead defaulting to whatever empty layout it is defaulting to.

I need help to find out why the content that is supposed to be called by the shortcode is not displaying and why I’m getting the “Uh-oh! No suitable preview area found” in Cornerstone when I try to edit the Cart page in Cornerstone.

Thanks for your assistance on this.

Hello Meredith,

I have investigated the issue, and your conditions are the cause of it.

Category is Books OR
Category is Artwork OR
Category is not Candles

This means that if the page has not been categorized as Candles, this layout will be used to all Woo pages INCLUDING the cart, checkout, my account, and other Woo Single pages. Removing the “Category is not Candles” condition should resolved your issue. I already tested this on your site.

The correct way of assigning a Woo Single Layout to the products is to use this:
image

By having the “All Products”, other pages will not be affected. Only the product pages.

Hope this makes sense.