Press enter to see results or esc to cancel.

Recreate WooCommerce Pages

WooCommerce is a great eCommerce plugin for WordPress. It’s open source, functions beautifully and has a great support community.

When you first install WooCommerce you see a site-wide notice instructing you to install specific Pages required by WooCommerce to function properly.

woocommerce install pages

By clicking on the “Install WooCommerce Pages” you authorize WooCommerce to create a default set of pages such as Cart, Checkout and My Account.

One issue you may run into, that you may not find an obvious solution for within the WordPress administrative dashboard, is recreating these WooCommerce-specific pages if you happen to delete them. Once the pages are deleted, the notice no longer appears in your dashboard even though these pages are missing.

The solution to this problem is actually quite simple. WooCommerce comes with several shortcodes used to insert content into pages and posts. The Cart page, for example, actually contains the short code [woocommerce_cart]. So, to recreate or create the Cart page you can simply create a New Page and paste the short code [woocommerce_cart] in the main content editor. Similarly, to create the Checkout page you create a New Page and use the [woocommerce_checkout] as it’s content.

Other shortcodes you may find interesting include:

[woocommerce_order_tracking] – shows the order tracking form
[woocommerce_my_account] – shows the user account page
[woocommerce_change_password] – shows the change password page
[woocommerce_view_order] – shows the user account view order page
[woocommerce_logout] – shows the logout page
[woocommerce_pay] – shows the checkout pay page
[woocommerce_thankyou] – shows the order received page
[woocommerce_lost_password] – shows the lost password page
[woocommerce_edit_address] – shows the user account edit address page

For a full list of WooCommerce short codes follow this link.

Comments

Leave a Comment