Introducing the WooCommerce XML-RPC API

We know you’ve been waiting for a full-fledged WooCommerce API, and while that particular piece of greatness is still a few months away (see this Github issue for details), we’ve developed a simple XML-RPC API to help you start integrating WooCommerce with your backend systems today. This has been tested over the past few months with a handful of clients and we’re ready to release it to the world. Currently it only supports updating order…

Our Thoughts on the New WooCommerce Pricing

UPDATE 2013-08-05: Since we published this, WooCommerce has decided to offer the choice to existing customers whether they want to grandfather their unlimited licenses in or not. Read the update post Full Disclosure: Our company derives the majority of its income from sales of WooCommerce plugins we’ve written, and by performing WooCommerce-related client projects. Still, we think we can be fairly impartial as it’s not like we have someone ordering us around to build WooCommerce…

WooCommerce extension updates & releases

New WooCommerce Plug-in: Authorize.net Reporting

Maybe this sounds a bit like you: You use an Authorize.net Payment Gateway, (maybe WooCommerce Authorize.net CIM or WooCommerce Authorize.net AIM) to process payments for your WooCommerce store, but it’s really difficult to get transaction information. If you want to get a simple list of transactions, you need to login to your account and run all sorts of complex reports. You spend hours pulling those reports and carefully massaging the data so it fits the…

WooCommerce extension updates & releases

WooCommerce First Data Upgrades!

First Data lovers, we may have just made your day. We’ve updated our First Data WooCommerce extension and added some new functionality that will probably knock your socks off. Just be prepared. ???? First, we’ve used an updated API so that you get more stable, reliable performance and a future-proofed extension. We’ve also made sure you can capture more sales and reduce cart abandonment by taking advantage of First Data TransArmor credit card tokenization, allowing…

WooCommerce extension updates & releases

New and Improved WooCommerce Braintree Payment Gateway!

We know you’ve all been waiting for this moment! Okay, maybe not, but we’re really excited to share some news with you. Were you unsure of which Braintree extension you needed to make your WooCommerce store complete? Problem solved! We’ve merged the Braintree and Braintree Transparent Redirect extensions to support shiny new braintree.js, which means you now get the simplicity of a direct gateway with the reduced PCI compliance of a redirect gateway, giving you…

WordPress development tutorials

Translating a WordPress Plugin on the Command Line Step by Step

The purpose of this article is to provide a quick and easy to follow step-by-step guide to extracting text strings from a WordPress plugin for translation from the command line. Although this is documented in the codex: I18N for WordPress Developers and Translating WordPress, those articles are somewhat lengthy and the first time I was asked to internationalize a plugin it took me some time to find the actual steps to generate my POT file….

WordPress development tutorials

WordPress Get DB Table Column Names

To get the column names for a MySQL database table in WordPress, use the following: global $wpdb; $table_name = $wpdb->prefix . ‘posts’; foreach ( $wpdb->get_col( “DESC ” . $table_name, 0 ) as $column_name ) { error_log( $column_name ); } Which will result in something like the following being printed to your debug.log: ID post_author post_date post_date_gmt post_content … You get the idea 🙂

Guide to Migrating Your Plugin to WooCommerce 2.0

With the release of WooCommerce 2.0 becoming more imminent (well, maybe not quite imminent yet, but certainly drawing nearer), those of us with WooCommerce plugins need to start work on getting them ready for the big release. WooCommerce has never been one to hold back on making plugin-busting implementation changes with a new release, and they’re setting the bar quite high with 2.0. It’s chalk full of code changes and improvements plugin developers must be…

Tweaking the WooCommerce Order Admin: Searching For Custom Fields

The WooCommerce Order Admin allows you to search for orders by the following fields: order key billing first name billing last name billing company billing address 1 billing address 2 billing city billing postcode billing country billing state billing email billing phone order items But what if you want to search by another order field? Perhaps the order total? Well it’s as easy as adding something like the following to your themes functions.php: function woocommerce_shop_order_search_order_total(…

WordPress development tutorials

Don’t Share Terms Between WordPress Taxonomies

By default WordPress will reuse terms with the same name and slug between different taxonomies (at least for now). For instance, if you add the term ‘red’ as a tag, and then add the category ‘red’, the same wp_terms record will be shared between them. This is also true for any custom taxonomies you define (remember that despite their seeming differences, WordPress tags and categories are both implemented as taxonomies). Now, in general this is…