Develop WooCommerce

The official WooCommerce development blog

WooCommerce 3.2.5 fix release notes — November 22, 2017

WooCommerce 3.2.5 fix release notes

WooCommerce 3.2.5 is now available. This fixes a few compatibility issues with WordPress 4.9, and a conflict with themes using product shortcodes.

~25 commits made it into this release. The full changelog is below.

* Fix - WordPress 4.9 - REST API - Updated schema, sanitization, and validation callbacks to support correct data types.
* Fix - WordPress 4.9 - Fix an issue saving variation attributes on new products and with attributes containing slashes.
* Fix - Save fee tax lines to new orders on checkout.
* Fix - Restore the post global after rendering product shortcodes.
* Fix - Fix product filtering when searching for a string including quote characters.
* Fix - Fix layered nav drop-downs containing unicode characters.
* Fix - Fix an edge case rounding bug with shipping taxes, and another with non-integer quantities.
* Fix - Set correct defaults when adding a new shipping class in admin.

Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.

As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.

November 28th: Dev chat #15 — November 21, 2017

November 28th: Dev chat #15

The next chat will be on November 28th at 17:00 UTC in the #core channel of the WooCommerce Community Slack. If you don’t already have access to the group, you can request an invite at the bottom of the WooCommerce developers page.

Our host this time will be Patrick Garman. Patrick is a partner at Mindsize, an eCommerce agency and verified WooExpert. He is also a very active member of the WooCommerce community, and his team has been developing a custom order tables plugin that will greatly improve the performance of orders in WooCommerce.

Here is his agenda:

  • Contributing to WooCommerce follow-up (once more!)
  • WooCommerce order and product data tables.
  • Holiday is (mostly, probably) over. Take a break.
  • Holiday sales showcase! Successes? Failures? What went right? What went wrong? Any data about it?

If you have anything to propose for the agenda, questions for Patrick, or related to the above, please leave a comment below.

See you there!

WooCommerce 3.2.4 security/fix release notes — November 16, 2017
WC 3.3 Order screen changes, including a new preview function, ready for feedback —

WC 3.3 Order screen changes, including a new preview function, ready for feedback

As part of the 3.3 release cycle we’ve been working on adding some features to the order screen, and improving general appearance.

First let’s take a look at the current order screen and point out some issues.

old
Order screen in 3.2

Problems:

  • Status icons are only used on this screen, and have little meaning or context.
  • Action icons are similarly confusing, largely due to the icons having no real meaning and being open to interpretation.
  • Showing addresses here is of little benefit since you cannot fulfil orders without knowing whats inside.
  • Other data that isn’t really needed here (because you cannot do anything with it!); payment method, shipping method, columns for notes with noting but an icon.

Additionally, viewing order items was something removed in a past version due to performance reasons, but was missed by some users gaining > 150 votes on the ideas board. We wanted to introduce something more performant in 3.3.

The new screen takes design cues from Store on WordPress.com (which was redesigned from scratch) and aims to simplify these views, as well as do code cleanup behind the scenes. This is the re-factored screen:

new
Proposed order screen in 3.3

Key differences:

  • Revised which columns are shown by default. Shipping address/billing address can still be toggled on, but are hidden by default.
  • Combined order number/customer name into a single column with the most important data.
  • Hidden the actions column unless an extension uses it to add custom buttons. All previous order update actions are possible from the bulk actions drop-down.
  • There is a new preview link for viewing order contents.
  • Clicking any part of the row takes you to the main edit order screen.
  • Statuses are text-based, and hovering the status reveals any important notes. Using words makes it clearer, especially for new users.

The new preview button you may have noticed brings back a view of items in the order, but does so without slowing down the page load. Order details are loaded via AJAX and display in a modal like this:

preview.png
The order preview

Now you get all the add-a-glance information needed to deal with new orders without needing to edit the order.

Testing and feedback

These changes are merged into our master branch on GitHub if you want to try things out. If all goes well, they will be part of 3.3 release in January.

Thoughts and feedback welcome in the comments.

November 14th: Dev chat #14 — November 7, 2017

November 14th: Dev chat #14

The next chat will be on November 14th at 16:00 UTC in the #core channel of the WooCommerce Community Slack. If you don’t already have access to the group, you can request an invite at the bottom of the WooCommerce developers page.

Here is the agenda:

If you have anything to propose for the agenda or related to the above, please leave a comment below.

See you there!