Spring Sale: Our new update is live! Save 30% on Pro and Pro Unlimited for a limited time.

WooCommerce

In this article, we're going to explain how to set up the WooCommerce plugin and talk about the integration with X and Pro.

  1. Getting Started
  2. Adding a Product
  3. How to Use WooCommerce in Cornerstone/Content Builder
  4. WooCommerce Image Size Changes
  5. WooCommerce Demos
  6. Further Reading
  7. Summary

Getting Started

WooCommerce is the most popular WordPress plugin for creating an online shop using your existing WordPress site. The X and Pro themes are compatible with the WooCommerce plugin. Follow the steps below to install the WooCommerce Plugin:

X > ValidationExtensions Overview
  1. Go to X/Pro > Validation.
  2. Scroll down the page to find the WooCommerce, then click the Install button.
  3. Wait till the installation process is finished.
  4. After the installation is complete, click the Go Active button.
  5. You will be redirected to the plugins page which you can click the Activate link to activate the plugin.
  6. After the activation, you can go to X/Pro > Validation menu and scroll down to see the plugin is installed.
WooCommerce ActivateWooCommerce Activated

After that you activated the plugin, you will be prompted to follow with step by step setup of the shop which will ask you typical question as which country the shop should be in, which currency and so on.

Adding a Product

Follow the steps below to add a product using the WooCommerce plugin:

  1. Go to WordPress Dashboard > Products > Add New.
  2. Add the Name of the product.
  3. Use the Standard WordPress editor to add the description of the product.
  4. Add a Price of the product.
  5. Add the main image of the product. Clicking the Set Product Image link will show the standard WordPress media dialog to choose the image.
  6. Add a gallery to the product by clicking the Add Product Gallery Images link. The process is like the step 5 but you can select more than one image.
  7. Add Product Tags to make sure you have proper keywords regarding the product.
  8. Add the Category of the product.
  9. Publish the product.
WooCommerce Product MenuWooCommerce Add Product

Click here for more detailed information about the Woocommerce Products.

How to Use WooCommerce in Cornerstone/Content Builder

By default, the Cornerstone in the X theme and the Content Builder in the Pro theme is not available while editing the product and you have access to the standard WordPress editor. But you can enable the builder following the steps below:

X > Validation
  1. Go to X/Pro > Settings.
  2. Find the Permissions section and search for the Products, click the power icon before the Products item to enable the builder for the Product custom post type.
X / Pro Permissions

Now if you go to edit or add a product you will see a new tab available in the editor to edit the product using the Cornerstone in the X theme and Content Builder in the Pro theme:

Cornerstone Content Builder

The builder will be available only to change the description section of the product. The layout of the single product page cannot be changed using the builder and instead you need to use the customization techniques in the WooCommerce PHP files.

WooCommerce Image Size Changes

X and Pro do not interfere with the default image settings of the WooCommerce plugin. So you can set the proper image sizes using the native controls of the plugin. Click here for more information.

WooCommerce Demos

X and Pro customers can access four different shop styles natively in the theme. These shop styles are based on the Stack you are using, and you can see previews of them below:

  1. Integrity Shop Demo
  2. Renew Shop Demo
  3. Icon Shop Demo
  4. Ethos Shop Demo

These styles will pull through automatically if you are using X/Pro, have selected a particular Stack, and have activated WooCommerce.

We have also released a dedicated shop demo called Crafty that can be installed from Design Cloud. The difference between Crafty and the Stack-specific demos listed above is that Crafty is a multi-page complete website whereas the Stack-specific demos are simply native styling.

Put another way, if you want to have a complete shop setup and ready to go you could use Crafty then customize as needed. If you want to build your own shop design from scratch, you simply select a Stack, activate WooCommerce, then customize the Stack-specific shop styling built into the theme.

Further Reading

This article barely scratched the surface of the WooCommerce capabilities. If you are interested in learning the plugin features in more depth we suggest that you check the official documentation.

Summary

We learned how to install the WooCommerce plugin and add a basic product as an example in this article. We also talked about the relationship of the X and Pro builders with the products and linked to proper resources to learn more about the plugin and how to setup the image sizes of the products.

See something inaccurate? Let us know