Woocommerce 3.0 brings improved product libraries, discounts provided by developers, etc.

tl; DR:

Woocommerce has a major update! After ready, update through your WordPress dashboard. In order to make the process as smooth as possible, please check our documents to understand how to update, backup, update your extension procedures, and the final update of Woocommerce.

Looking for technical details? Read the 3.0 publishing article on the development of the WooCommerce blog here.

It is difficult to believe that it has been a long time since our last main WOOCOMMERCE version has passed, but sometimes good things are worth waiting for.

WooCommerce 3.0 has arrived -continue reading to understand the new features.

Today we are proud to launch version of WooCommerce 3.0 , including:

    with new zoom, gallery view and mobile function

  • Update the product gallery
  • multiple

  • speed and performance improvement
  • Add CRUD class
  • New CLI

  • These are some important supplements. There are more content that needs to be explored in bionic butterflies, so let’s start!

Show you in the overhaul Product pictures Since the release of version 2.6 last year, we have been discussing improving the gallery experience on a single product page. For a long time, we are not satisfied with the function of the gallery -especially in mobile devices and smaller screen size -and I feel that it is time to make changes.

After conducting public opinion investigations and conducting some internal tests, we finally proposed a new gallery. It has more functions

, more suitable for mobile devices, and more intuitive than previous iterations.

.

This is a short video of the gallery:

In the large -repair gallery on each product page, you will find: [ 123] Shopper can now among the images in the page,

also

can be enlarged from the light box to the window

  • If you There are multiple images, the gallery behavior is more intuitive ; for example, clicking the shrinkage map will update the image you are viewing, instead of opening the light box to pop up the window significant improvement of the mobile gallery view view Including touch gestures : slide to roll gallery, pinch to zoom and slide up to close the current image
  • A magnifying product image on mobile devices will now display the real size of the image – – It used to be scaled to match (very small) browser window instead of the ideal experience!
  • We believe that these improvements have created a faster and easier experience to view your product pictures (especially on mobile devices), and enable them to enlarge and view these small details. If you are not yet, you are the best time to make sure you prepare multiple product pictures for all products!

You can read more information about the gallery here. If you are the theme developer, You can also understand what you may need to update to achieve compatibility.

Pay attention to performance improvement, especially in large stores We have been working hard to make WooCommerce faster and more efficient, this update is no exception. We have added a few important performance enhancement functions to 3.0. If you have larger stores (especially hundreds of products may be different from different variants), you will probably notice this [123 123 ]. The two specific improvements we want to point out:

We now use the classification method to determine and display product visibility, specialty products and out -of -stock products,

Instead of slow release of metadata, and

We have reduced the number of query on addition and related products on the product and shopping cart page

.

    But this is just an example of our improvement. If you are curious, you can find the entire list in the original test version. But the most important thing you need to know is that we have been actively committed to speeding up the speed of large stores, whether in this version or the future version.

  • Introduce the CRUD class -what they are and how they will help developers

Before this version, developers can write data such as orders and products into the database in various ways. The search data can also be completed in various ways. All this requires developers to know what they try to modify the

type

data, and this is not ideal: it takes time and complicated. In order to optimize the data storage, we need to ensure that developers use a single data writing and retrieval method . This is why we introduce the CRUD class in this version.

CRUD

Created,

Reading

, update ,

Delete

β€”β€” Basic operation. After adding the CRUD class to Woocommerce 3.0, You can use less code to modify orders, products, customers, bank projects, transportation areas, payment tokens and coupons in a unified system .

The benefits of this added: Definition data of each resource and control its process and verification

You only need to know the name of the data you are using

instead of type or internal details

    ]

  • The data can be moved to other places (such as a custom table) instead of affecting the existing code
  • less code means less change , plus More tests
  • For more information about the CRUD classes in Woocommerce and how to use them, please read Mike’s posts on the development of WoOOCOMMERCE blogs to add it to this version.
  • Use the new CLI to manage data faster

  • Another enjoyment of developers: we thoroughly checked our command line interface (CLI). Initially, the Woocommerce CLI provided support from its own code independent of the REST API. This means that the code may be reproduced unexpectedly in the code library, and something that may happen in the REST API is simply impossible in the CLI.

The new CLI is supported by the REST API, which is a branch of RESTFUL.

This reduces our needThe amount of code for protection provides you with more functions and means that the command will always be the latest when we improve the REST API. These commands are now available for List, Get, Update and Create.

Justin has more details on the posts on the Develop Wooocommerce blog, and the command list that can be used from today.

This is not all

To be honest, WooCommerce 3.0 is much more emphasized than us so far, but it is difficult to put them all in an article. The following is more changes you may want to know:

Automatic classification tax rate

, easier to add and manage new tax areas

Customer

Now You can reject notifications within the website

    WordPress network/multi -site user processing has been updated

  • . If the user already has an account on the same network, WooCommerce will add existing users to The current store (which leads to errors in 2.6) We
  • combine the percentage of the shopping cart and the product percentage coupon type

  • into one method, which reduces the confusion and confusion caused by the verification of shopping carts based on the verification of shopping carts. Error Finally,
  • improved the log record of the developer

  • You can read the complete changes and functions in the Beta post on our development blog post. List.

Why this version is 3.0 instead of 2.7

As you may be in email Or as you can see in online chat, this version was originally planned to be numbered 2.7 and released in mid -March. But our plan changed during the beta test. As we announced, it was time to change to the new release system.

Looking for the future, the Woocommerce version will use a semantic version control , which stipulates that mainly version -those versions with API changes or may affect expansion compatibility, such as this β€”β€”In a new main version number (eg, 4.0, 5.0). On the other hand,

version and patch will receive the receiving point version (eg, 3.1, 3.2).

We use this method to changeDescribe the content contained in each version, and at a glance telling you how much a potential impact on your store may have. We hope that this can also increase confidence in the secondary version and patch, and help you update Woocommerce faster when one of the updates is released.

In addition, looking forward to the future,

We plan Publish candidate tests to increase more time

. This is because we have received useful feedback from developers who want more time to test for testing in the post (at the time) 2.7 post.

We Very Thanks to all feedback and suggestions for our implementation of this new release system, including semantic version control and longer test cycle. We are eager to try this in the next few updates, and look forward to providing further feedback on its progress! Are you ready to try bionic butterflies? Your update is waiting

We hope you like to read the content of WooCommerce 3.0

. When you are ready to try it, please check how we update the document to ensure that the backup is in place, and then get the update from the WordPress dashboard.

If you encounter problems when you are updated or you find that you think it is wrong, please perform the following operations:

Do you think you found the error of 3.0

or a conflict with other plug -ins? Report to us through our GitHub problem tracker.

Is there a problem with upgrade? Visit our support page to invoicing. Just want to talk about release

, or have a good idea for the next version? Start discussion at WordPress.org’s public Wookommerce Forum.

  • Please note, we cannot
  • diagnose or solve potential problems through blog reviews

  • . The fastest way to get in touch with us is through one of the above methods. But we are always glad to read your feedback and provide general suggestions. For specific matters that need to be paid attention to in 3.0, potential compatibility issues and continuous updates are on our development blog.
  • You think bionic butterflieshow about it? Let’s know in the comments!

Author:

Leave a Reply

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