Develop WooCommerce

The official WooCommerce development blog

Dev Chat Summary: April 11th. — April 11, 2017

Dev Chat Summary: April 11th.

This post summarizes the dev chat meeting from April 11th. (agenda, Slack archive).

CRUD Search Helpers

  • Open Issue.
  • We need to investigate wether we can re-use WP_Tax_Query or not. Actual taxonomy storage probably won’t change when we move to custom tables. See discussion.
  • Main props should definitely be queryable.
  • Custom meta should be supported. WP_Meta_Query.
  • WP data structures are a temporary way to get us there. We know the goal is to move data to custom tables.

Product Admin UI

  • Bumped to the next chat, but a call for feedback was posted.
  • Please leave your thoughts on the open issue and we can discuss.

Importer / Exporter

  • Please provide feedback on the proposed schema.
  • Background processing classes mentioned as a concern here. We want to improve that in core.
  • Other extensions should be able to use what we have (like the Subscriptions CSV importer).
April 11th: First Dev Chat & 3.1 Kick-off — April 3, 2017

April 11th: First Dev Chat & 3.1 Kick-off

We previously announced that we would begin holding developer chats every two weeks with the community on our Slack. These chats will take place in the new #core channel — a channel meant to focus on the development of WooCommerce core.

Our first dev chat will be on April 11th at 16:00 UTC. Future chats will be every two weeks at the same time. Join us as we kick-off the 3.1.0 release cycle!

Here is the agenda for our first meeting:

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

See you there!

Developer Chats. — March 17, 2017

Developer Chats.

Starting with the 3.1 release cycle, we will begin holding dev chats every 2 weeks. These meetings will happen every other Tuesday on WooCommerce Slack and are open to the community.

Each chat will have it’s own agenda, but will include topics relevant to the ongoing development of each release.

We have a few goals in mind for these chats:

  • Stay in sync, and share progress of ongoing projects.
  • Communicate more with the community and involve more people in each release cycle.
  • Increase interest and participation in contributing to WooCommerce core.

Please fill out times that would work best for you on an average Tuesday. All times are in UTC.

Once we have a time and date set for the first chat, we will announce it, including a draft agenda, and a call for additional agenda items.

Please feel free to make suggestions – these chats are for the community! :).

WC 2.7 extension compatibility examples #2 – Deposits — January 27, 2017
2.7: A new CLI for WooCommerce — December 12, 2016

2.7: A new CLI for WooCommerce

WooCommerce brings many improvements to the WP-CLI powered command-line interface we introduced back in WooCommerce 2.5.

WP-CLI is a set of command-line tools for managing WordPress installations Our WC-CLI layer adds tools for managing products, coupons, payment gateways, shipping zones, and much more.

In WooCommerce 2.5 and 2.6, the CLI was powered by it’s own separate code. This code was separate from the REST API or WC core, meaning code could end being duplicated across the code base, or it meant that certain things possible in the REST API were not possible at all with the CLI.

2.7 introduces a new CLI powered by the REST API. We did this by forking Restful. This reduced the amount of code be need to maintain, provides a lot more power and commands, and means that the commands will always be current as we improve our REST API in the future.

Currently, following commands are available with list, get, update, and create operations:

wp wc customer 
wp wc customer_download 
wp wc order_note 
wp wc payment_gateway 
wp wc product 
wp wc product_attribute 
wp wc product_attribute_term 
wp wc product_cat 
wp wc product_review 
wp wc product_shipping_class 
wp wc product_tag 
wp wc product_variation 
wp wc shipping_method 
wp wc shipping_zone 
wp wc shipping_zone_location 
wp wc shipping_zone_method 
wp wc shop_coupon 
wp wc shop_order 
wp wc shop_order_refund 
wp wc tax 
wp wc tax_class 
wp wc tool 
wp wc webhook 
wp wc webhook_delivery 

There is a wiki page containing more information and examples. We’ll also work on generating documentation similar to our REST API documentation for each command. You can also use the —help flag to find out each commands parameters.

Please test out the new CLI commands and provide feedback or bug reports on GitHub!