Categories
WooCommerce Core

Developers Rejoice: The Pangolin Has Landed

Finally we’re proud to announce WC 2.2 (Prowling Pangolin) is live! 2.2 is our 9th major release and has been in development since 2.1 was released back in February.

WC 2.2

Some Stats on This Release

To highlight the work that’s gone into 2.2, since 2.1 I would have loved to have shown more stats from Github, but instead saw this:

This comparison is big! We’re only showing the most recent 250 commits

I think that pretty much covers how much work has been done, but from the data I was able to scrape there have been:

  • 47 contributors
  • 1670 commits
  • 553229 additions
  • 972950 deletions

That’s staggering, so huge props to everyone who has contributed via Github, and also not forgetting the translation teams on Transifex!

Release Highlights for Developers

Upgrading to 2.2

Aside from testing before pushing to live (use a staging site) developers should be aware of the upgrade script which runs in 2.2. The script will:

  1. Update some deprecated options such as woocommerce_ship_to_billing.
  2. Convert the old order statuses (taxonomy) to the new ‘post status’ formats.
  3. Update variations to include new stock meta data.
  4. Add new capabilities to admin users for webhooks.

Users will be prompted to run this in WP admin after upgrading.

What Comes Next?

WC 2.3 has already been scoped out and planned to be a UI focussed release. We’re hoping to speed up our release cycles as of 2.3, so keep an eye on Github and feel free to get involved.

And for everyone attending our first WooCommerce conference, see you in November!

By Mike Jolley

Mike Jolley is a tech hobbyist, astrophotographer, retro gamer, and software engineer who works at Automattic and contributes to open-source projects such as WordPress and WooCommerce.

24 replies on “Developers Rejoice: The Pangolin Has Landed”

Updated to the 2.2 core and the quantity button overlapped the minus button making it so you could not longer see the quantity for a product. To fix i just had to tweak the css a bit to get it to render correctly. This was using the Woo Reatiler theme. The fix was to paste this css into the custom code .woocommerce-page .quantity input.qty {
position: relative;
left: 35px;
}

Like

I was able to resolve by doing the following:

1. In class-wc-install.php, change all occurrences of get_settings() to get_options() as the previous is deprecated.
2. Change the single occurrence of get_settings_pages() to get_options().
3. /wp-admin loaded up nicely and I reverted the above back to normal as it was only relevant for the install (I believe).

Like

Is there a way to downgrade it? The admin panel is not loading anymore, and the website is loading slow.

Any idea why the admin does not load after upgrade?

Thnaks

Like

Thanks. I will disable the plugins to see if I can get it fixed.
Do you know if I can downgrade it? Because I have other issues on frontend, and I can’t fix them now as is night here 🙂

Like

You can grab an old version from the ‘developers’ tab on WordPress.org. If you’ve run the updater some things like order statuses may be wrong though.

In future, test updates on a dev/staging server. Doing any update on a live store is a bad idea.

Like

Thanks for your help. I was able to downgrade it and now the site is working fine. I know that it was stupid to update a live store, but tomorrow I’ll make it work on a test site.

Like

Excellent suggestion, I was about to write the same. Also, it’s always better to update the plugins on TEST sites first, so that nothing breaks on the live site if something goes wrong.

Like

I think I am going to restore the site and do this later. Can’t afford to loos anything now. Woocommerce was the only update I had I believe

Like

Please do not perform updates (especially major releases like this one) on a live site. We cannot stress this enough.

Like

I keep a backup of everything on my site in 2 different places and I did a backup locally, before doing the update. I was just hoping it’d go fine. I’ll have to test it out on my test server at another time.

Thanks for the suggestions everyone

Like

Hi,

For Woocommerce 2.2, how can i add custom fields into variable products? As my previous code to add custom field doesn’t work. It appears in the backend, but when i print the array, the value for product_custom_fields disappeared. Help?

Like

We’re having a major issue. Every hour or so, we get a notification that “WooCommerce Data Update Required – We just need to update your install to the latest version”
We have updated it several times, still keeps occurring.
A search on G. led me to a post where a guy deleted his .htaccess and put permalinks to default, saved, then back to his custom and the message went away.
Well, I did that yesterday and I thought I was good. Today, however, I get into the office, log in and I am seeing the notice “WooCommerce Data Update Required – We just need to update your install to the latest version” all over again.
What can I do to make this go away? Anyone?
Thank you for your time,
Tim

Like

Hi there!
Is the REST API 2.0 Documentation still in development? I cant find the good old endpoint documentations for orders and customers in the new one.

Thanks a lot!

Best regards
Florian

Like

Comments are closed.