WooCommerce is a popular e-commerce plugin for WordPress which has many themes and extensions. That’s why we have added the support of WooCommerce in the Content Egg.


Watch the video of Content Egg + WooCommerse integration:

https://www.youtube.com/watch?v=ub2K2mvJDcA


There are some opportunities of integrations. We recommend you to start from the easier one and getting to more complex. To start working you need to install and activate the WooCommerce plugin if you haven’t done it before. Then go to Content Egg -> Settings -> Post Types and set a checkbox in front of the product. It will give you the opportunity to work with woo products.


Data adding

Let's say you have created WooCommerce products manually or imported them earlier using the one of available methods. Now you can add data blocks of the Content Egg plugin in the product description. You can do it in the same way as for regular posts. For example, you can add the list of price comparison, accessories to the product, images, videos and etc. Use shortcodes of module or block shortcodes.


Product synchronization


By default, woocommerce will use price and buttons which were added in Product panels manually. But now, you can also synchronize these fields with the plugin and allow it to set prices automatically.


There are two ways of synchronization: global (automatic) and manual.


First of all, go to Content Egg settings - general and enable modules which you want to synchronize. If you want to automatically synchronize all new products, then choose this in Automatic synchronization.



Then, when you add or edit a product, you will see next checkboxes. If you tick it, this product will be selected for synchronization and a woocommerce price will be auto populated with a offer price.  If you don't have any selected product, the plugin will check your option for Automatic synchronization and will use it (for example, auto select lowest price offer).


Now every time of price updating in the Content Egg, the price will be changed in the woo product. Also such fields as a short description, an image, a url (for external products) are synchronized.


When you create a new WooCommerce product you should set at least the field Title. Other way the product will not be saved.

Select a External/Affilite type of product if you want your link “To buy” to be redirect to the partner’s site. Otherwise, it will go to the shop cart.

By default, the WooCommerce supports service with only one type of the currency. Therefore, when the currency of the product differs from the currency in WooCommerce, the automatic converting will be produced during synchronization.

When the synchronization is automatic attributes of the selected product are also imported if the list of woo product attributes is empty. Anyway, the synchronization of attributes occurs only once.


WooCommerce and autoblog

You can automatically create WooCommerce products and fill up your catalog using the function of autoblog in the Content Egg. To do this, select Post Type = product and the conforming product category in autoblog settings.



By default the automatic synchronization of product works for the autoblog. If the product for synchronization couldn't be chosen this way, the "Main product" would be selected according to the autoblog settings.


Attributes synchronization

Some modules of the Content Egg (including Affiliate Egg modules) return characteristics of the product or specifications. You can see their number during search of products.

In order to import these characteristics as attributes of WooCommerce product select "woo attributes" checkbox.

There are two type of attributes in WooCommerce:

  • Custom attributes are local product attributes. It is just characteristics of product which will be displayed on the product page.
  • Global attributesare taxonomies in the WordPress terms. It is used for product grouping. You can use them to filter and sort the product.

Uncontrollable creation of large number of global attributes (taxonomies) can significantly slow down your site.

That's why, in the Content Egg, a special filter of global attributes works by default. It could be not enough if you use different product categories from different sources on your site. Therefore, it is recommended to configure black/white list of global attributes manually. To do this, go to Content Egg -> Settings -> Global attributes filter / Attributes list and set the list of attributes which should be (or should not be) created as global ones. You can use the attribute name and the slug as well.


Use the WooCommerce Layered Nav widget to create filters. Visitors of your site will be able to filter products in your catalog by different attributes.


Also, there are many additional plugins which can help improve woocommerce searching filters.