WooCommerce 3.0 is out

WooCommerce 3.0 is officially live. This version started out as WooCommerce 2.7 but along the way a critical bug in the way the system handled time-stamps was discovered and pushed back the release.

Let’s take a look at some of the highlights of this new version of WooCommerce.

New CRUD Classes

The WC team has put a plan in motion to handle scalability for growing eCommerce sites. The first step of this plan is abstracting data storage. Right now developers have multiple ways of storing and retrieving data, this fragmentation makes life difficult for developers who need very specific information in order to retrieve stored data. This is about to change with the introduction of CRUD classes and hopefully make things much simpler. Read more here.

New WC-CLI

The new version introduces a new CLI for WooCommerce powered by the REST API. This provides more commands and more power to the user while reducing the code that needs maintenance. If you want to learn more, check out this article.

New product galleries

A new single product image gallery has been implemented to add user requested features. Now visitors can both magnify and zoom images, touch gestures have been greatly improved and the mo bile lightbox now displays the image’s true size. More about the gallery can be found here, also implementation instructions for developers can be found here.

Performance improvements

Taxonomies are now used more in product filtering. Specifically product visibility will be converted to a taxonomy (previously post meta) and will be used when displaying featured products or hiding out of stock items. This will improve performance on larger product catalog filtering. More here.

WP_Queries have been removed from the related and up-sell templates and replaced by a PHP foreach loop since IDs where already available, this removes a large query from product and cart pages.

Miscellaneous improvements

The store-wide notice is now user dismiss-able, making it less of a problem when it overlaps with other elements, especially on mobile devices.

Tax rates are now sorted automatically.

Structured data are now output in a JSON-LD format which makes templates cleaner and ensures data remain intact even if the templates are modified.

Template changes

It is expected that with a major release such as this one, there will be some template changes. Here is a list of the templates that have been updated to version 3.0.0

cart/cart.php
cart/cross-sells.php
checkout/thankyou.php
emails/email-order-items.php
emails/plain/email-order-items.php
myaccount/downloads.php
order/order-details-customer.php
order/order-details-item.php
order/order-details.php
single-product/add-to-cart/grouped.php
single-product/add-to-cart/simple.php
single-product/add-to-cart/variation-add-to-cart-button.php
single-product/meta.php
single-product/photoswipe.php
single-product/price.php
single-product/product-attributes.php
single-product/product-image.php
single-product/product-thumbnails.php
single-product/related.php
single-product/review-meta.php
single-product/review-rating.php
single-product/stock.php
single-product/tabs/additional-information.php

If your theme overrides any of the above templates you should check out the changes and updated the templates to avoid shop breaking situations.

Deprecations

There was quite a lot of deprecation done in WooCommerce 3.0.0, mainly due to the introduction of the new CRUD system. If you are using deprecated functions you will most likely get a notice informing you of the situation. This does not mean that your store is broken, but you will have to take action at some point and update your store, before the deprecated functions are removed from WooCommerce, at which point your store will stop working. More about deprecation here.

WooCommerce 3.0.1

WooCommerce has released a minor update versioned 3.0.1 which fixes some bugs, you can learn more about the bugs fixed here.

WooCommerce 3.0.x and CSSIgniter

We currently have close to 20 WooCommerce compatible themes in our portfolio. We have updated the templates on each one to make sure they work with WooCommerce 3.0.1 and that users will not get annoying out of date notifications in the dashboard. All updates are currently live, if you haven’t already updated you will get a notice to do so in your dashboard. You can find info on how to update your theme here. Please note that due to the major changes made to some of the templates you should avoid updating the theme until you have updated WooCommerce itself.

As usual if you encounter any issues with your theme and WooCommerce 3.0.x you can seek help at our support forum here.

Subscribe to our newsletter.

Get a 20% discount code instantly!

8 comments

  1. Steven says:

    This zoom product update broke a new site I was working on (no plugins and a blank theme!). Looks like we do have some options for control though: add_action( ‘after_setup_theme’, ‘yourtheme_setup’ ); function yourtheme_setup() { add_theme_support( ‘wc-product-gallery-zoom’ ); add_theme_support( ‘wc-product-gallery-lightbox’ ); add_theme_support( ‘wc-product-gallery-slider’ ); }

    1. Nik Vourvachis says:

      Hello Steven.

      Due to the size of the update and the number of changes they have made on WooCommerce, a lot of things are not backwards compatible.

      If you were working on one of our themes and encountered this issue, please make sure you update to the theme’s latest version. We have released WooCommerce 3.0.x compatible versions for all our WooCommerce enabled themes a couple of days ago. If you install the latest version you should have no more problems with the product gallery.

      If you encounter any WooCommerce related issues after updating, please post in our support forums here to let us know so we can further assist.

      Thank you.

  2. Unfortunately they changed the way you group products and now my website is a fully mess. Before you could set the grouped products as hidden and they only appeared in group product page, but now you need to set as catalog to do the same and, with that, all the grouped products start to show at products page instead of only the group ones. Too bad.

    1. Nik Vourvachis says:

      Sorry to hear about this issue. Version 3.0.1 seems to bring some good news on that front, according to the changelog, they have fixed hidden product visibility on grouped items.

  3. murat says:

    Woococomercenin has started to become a problem with product galleries no lightbox plugin in new update no plugins in download new product page opens in new page and opens large images lightbox is not active so if you can find a solution to this we are glad
    good work….

    1. Nik Vourvachis says:

      Hello Murat.

      The latest WooCommerce update was pretty major and a lot of things are not backwards compatible.

      We have released updates for all our WooCommerce enabled themes a couple of days ago. Please install the latest version and all problems with product images should be corrected.

      If you encounter any WooCommerce related issues after updating, please post in our support forums here to let us know so we can further assist.

  4. draftsman says:

    Hi! I made an update on Woocommerce, from 2.6.14 (I haven’t updated yet because I know that Woocommerce 3.0 has issues), and now I updated it to version 3.0.4. I also downloaded the latest version of Amaryllis Theme and all are updated including the woocommerce folder inside the Amaryllis Theme folder. I changed also the style.css version of my child theme from version 1.5 to 1.6. But as you can see in this screenshot, the Product Page is still broken: http://prntscr.com/ez0ecl

    Is there any news on how to get rid of this issues?

    Thanks!

    1. Nik Vourvachis says:

      Hello there!

      Please create a new post regarding the issues you are facing in the theme’s support forum here and we’ll be right along to help.

      Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *