We’re just getting started with WooCommerce and are preparing a store with just a few categories and products in it to play around with it and get to know it before we get seriously into it.
We don’t yet have an SSL certificate for our website.
Does this mean that we won’t be able to create a store and test it until we get an SSL certificate?
As is, we’re seeing blank pages when we go to cart and try to go to checkout. On those pages, our header is there, but the page below the header is empty, blank.
I posted this same question in an existing thread that mentioned this, but haven’t had a reply. Thought maybe it might be missed in that other thread.
maybe, can you see do code shablon this page?
Thank you.
2
Answers
Make sure to enter the [woocommerce_cart] shortcode in the Cart page and [woocommerce_checkout] shortcode on the checkout page.
And Goto Woocommerce settings and set the Cart Page, Checkout page.
This should solve the issue.
Meanwhile, check the Woocommerce -> System Status and look for errors.
If you are using any page builder, make sure you enter the Shortcodes in the text box modules.
If you still face the issue, try reverting back to Gutenburg editor or classic editor instead of Page builder.
How to debug:
wordpress.org/support/topic/how-to-debug-issues-after-updates
Perhaps it would be easier to find what is causing the conflict. Try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins except for WooCommerce. If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict
I came across this issue while writing a custom WooCommerce theme from scratch. I realized that if your theme has a page.php template (or any of the fall-back templates in the WP hierarchy) – you need to make sure, that
the_content();
function gets called in the template that yourpage
post-type is going to use (eitherpage.php
,singular.php
orindex.php
) – if you are using the standard WooCommerce setup.If not, the WooCommerce short-codes are simply never output – which the
cart
,checkout
,my-account
andorder-tracking
pages depend on.