Develop WooCommerce

The official WooCommerce development blog

WooCommerce 3.3.4 fix release notes — March 20, 2018

WooCommerce 3.3.4 fix release notes

WooCommerce 3.3.4 is now available. ~30 commits made it into this release and the full changelog is below.

* Fix - Fixed undefined index after running setup wizard two times on fresh install.
* Fix - wc_get_loop_class; force columns to be a minimum of 1.
* Fix - Added loading spinner to WC panels in menu admin. 
* Fix - Use relative scheme for AJAX endpoint to avoid errors when using a mix of HTTP and HTTPS.
* Fix - Fix SelectWoo templateSelection property.
* Fix - Layered nav support on unsupported theme archives.
* Fix - Prevent full refresh when editing store notice in the customizer.
* Fix - Only append tax label in email content if taxes are enabled.
* Fix - More reliable Jetpack detection.
* Fix - Check if product has weight before calculate weight total in cart.
* Fix - Correctly handle default ordering on the search page.
* Fix - Fix default product category handling in installer.
* Fix - Properly check slugs when updating attributes.
* Fix - Use gallery thumbnail size for variation image switcher.
* Fix - Clear subcategory cache when updating product categories.
* Fix - Round fractional cents when out of base.
* Fix - Inherit 'is variation' from existing attribute during csv import.
* Fix - Set is_shortcode loop prop when outputting subcategories.
* Fix - Reload gateways after updating the order.
* Tweak - Use wc_get_default_products_per_row as the default for product shortcodes.
* Tweak - Add post_excerpt to product search.
* Tweak - Update the description of the user tracking notice in the onboarding wizard.
* Tweak - Add extra data in order mobile view (status and date).
* Tweak - Add profile link to order screen.

 

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.

March 27th: Dev chat #20 —

March 27th: Dev chat #20

The next chat will be on March 27th 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 for the chat:

    • We’ll go over the results of the product type column survey and discuss our decision about the product type column.
    • 3.4 development is underway! We’ll give an update about WooCommerce 3.4 and what you can expect in the release.
    • GDPR is coming! We’ll cover what features we’re adding to WooCommerce to make compliance easier for store owners.

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

See you there!

Theme and Plugin Developer Handbooks — March 9, 2018

Theme and Plugin Developer Handbooks

All of the important information you need when developing plugins and themes for WooCommerce has been summarized, compiled, and aggregated it into two helpful guides: the WooCommerce Theme Developer Handbook and the WooCommerce Plugin Developer Handbook.

These handbooks contain overviews, examples, best practices, and links to other relevant documents. They are an excellent way for people beginning WooCommerce development to get up-to-speed as well as a useful reference for experienced developers.

You can check them out here:

We recommend bookmarking them so you have a handy place to go any time you run into a question while developing WooCommerce-compatible plugins and themes.

If you notice any important topic or links to documentation you reference regularly missing from these handbooks please leave a comment below so we can make these as useful as possible for everyone.

What should happen to the product type column on the admin Products screen? — February 28, 2018

What should happen to the product type column on the admin Products screen?

During the last WooCommerce developer chat we had a productive discussion about the usefulness of the product type icons on the admin Products screen. The topic was originally brought up in this GitHub issue and people seem to have strong feelings about it.

With the current design of the icons it is difficult to tell what type of product each icon represents, and one solution to this would be to improve the icons.

Another possible solution is to remove the column entirely. Removing the column would reduce the clutter on the screen and provide more space for other columns that are more useful.

Feedback from some store owners was that they have this column hidden when managing their stores because the product type of a product does not affect their workflow at all. When they do need to find products of a specific type it is easier and quicker to use the “Filter by product type” dropdown.

This sort of decision should be based on data and not anecdotes, so we have created a poll. If this column is part of your workflow, please also post a comment below explaining how it is used. Your answers and comments will help determine what happens to this column!

WooCommerce 3.3.3 fix release notes — February 21, 2018

WooCommerce 3.3.3 fix release notes

WooCommerce 3.3.3 is now available. ~9 commits made it into this release.

This fixes some issues with comma based currency settings, and the variation image switcher for variable products. The full changelog is below.

* Fix - Fixed is_numeric check which was affecting order subtotals/totals when using comma decimal separator.
* Fix - Add missing direct script access checks to loop templates.
* Fix - Added wp-post-image class to main image so variation images are swapped correctly.
* Fix - API - Adjusted schema for products shipping_class_id to integer.
* Fix - Made init tooltips event more specific to avoid conflict with Product Invoices extension.

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.