SkyVerge Test
Using the WooCommerce REST API – Orders Endpoint February 28 2014
This is post #2 of 2 in the series “For Developers: Using the WooCommerce REST API” Last week we posted an introduction to the WooCommerce REST API, which detailed basic request/responses and authentication. In this article, we’ll go in-depth with a hands-on look at the Orders endpoint. You’ll learn all the different ways order information can be fetched from the API, as well as how to update the status of Keep Reading…
The post Using the WooCommerce REST API – Orders Endpoint appeared first on SkyVerge.
Using the WooCommerce REST API – Introduction February 21 2014
This is post #1 of 2 in the series “For Developers: Using the WooCommerce REST API” My favorite feature from the recent WooCommerce 2.1 release is the REST API. I may be a bit biased, since it was my core contribution during the 2.1 release cycle, but it lays important groundwork. A platform like WooCommerce is strongest when shop data can be pushed or pulled from other systems, like a Keep Reading…
The post Using the WooCommerce REST API – Introduction appeared first on SkyVerge.
Down the Rabbit Hole: WordPress and Timezones August 21 2013
“Why, sometimes I’ve believed as many as six impossible things before breakfast.” ― Lewis Carroll, Alice in Wonderland A few months ago, we were working on the WooCommerce Pre-Orders extension and had to think about how we wanted to store the release date & time. Like most concepts that look simple and easy at first, this turned out to be somewhat complex. Throughout development, I ended up learning quite a Keep Reading…
The post Down the Rabbit Hole: WordPress and Timezones appeared first on SkyVerge.
How to Add a Custom WooCommerce Email August 20 2013
WooCommerce 2.0 introduced a lot of new features to the core plugin, one being a new class-based implementation for emails. This makes it really easy to add your own custom email types to WooCommerce. In this article, we’re going to create a sample custom email that’s sent when an order with expedited shipping is received. A lot of larger sites disable new order emails if they receive a lot of Keep Reading…
The post How to Add a Custom WooCommerce Email appeared first on SkyVerge.
Introducing the WooCommerce XML-RPC API August 19 2013
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 Keep Reading…
The post Introducing the WooCommerce XML-RPC API appeared first on SkyVerge.
Add Custom Options to WooCommerce Settings February 19 2013
This question comes in from blog reader Wilgert (thanks Wilgert!): could you help me find some simple code to add a custom option field to the general settings tab of the woocommerce admin area? Trying to avoid re-inventing the wheel here. Well, this may be more than you bargained for, but here we go! The WooCommerce settings can be found under the menu item WooCommerce > Settings and look like Keep Reading…
The post Add Custom Options to WooCommerce Settings appeared first on SkyVerge.
Set a Default Stock Quantity for WooCommerce Products February 17 2013
Here's a quick little snippet that you can make use of if you want to set a default stock quantity for any newly added WooCommerce product Variations. This can be useful when bulk-adding variations and you don't want an initial quantity of ''.
The post Set a Default Stock Quantity for WooCommerce Products appeared first on SkyVerge.
Guide to Migrating Your Plugin to WooCommerce 2.0 January 14 2013
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 Keep Reading…
The post Guide to Migrating Your Plugin to WooCommerce 2.0 appeared first on SkyVerge.
Tweaking the WooCommerce Order Admin: Searching For Custom Fields December 12 2012
The WooCommerce Order Admin allows you to search for ordres 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 Keep Reading…
The post Tweaking the WooCommerce Order Admin: Searching For Custom Fields appeared first on SkyVerge.
How to Override WooCommerce Widgets December 01 2012
While it’s not technically possible to override a WordPress widget (and remember WooCommerce widgets are nothing more than WordPress widgets), WooCommerce is just so extendable and pluggable and flexible, that some widget functionality can be nearly completely overridden just using the standard WooCommerce template files and/or template functions. For the widgets that aren’t as pluggable, or if you need greater control, you have the option to un-register a core WooCommerce Keep Reading…
The post How to Override WooCommerce Widgets appeared first on SkyVerge.
Don’t Share Terms Between WordPress Taxonomies November 20 2012
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). Keep Reading…
The post Don’t Share Terms Between WordPress Taxonomies appeared first on SkyVerge.
How to Add Dimension Units to WooCommerce November 08 2012
This post was prompted by a recent question on the blog regarding how best to add custom units to the WooCommerce dimensions or weight options. While not a difficult thing to do, adding units is not trivial either if you don’t have much experience with PHP, WordPress or WooCommerce. This would be useful for adding, for instance, the foot as a dimension measurement to WooCommerce, which seems to be the Keep Reading…
The post How to Add Dimension Units to WooCommerce appeared first on SkyVerge.
WooCommerce Order Admin Calc Line Totals September 30 2012
Compatibility Notice: The following article and code applies to pre-WooCommerce 2.1 only. It is not compatible with WooCommerce 2.1+ As of version 1.6.5.2 at least, WooCommerce does not provide a way to automatically calculate the Line Subtotal and Line Total values for a given product quantity, when creating or updating an order through the Order Admin: As shown in the above image, there’s a button to calculate the line taxes Keep Reading…
The post WooCommerce Order Admin Calc Line Totals appeared first on SkyVerge.
Override WooCommerce Template File Within a Plugin September 06 2012
The goal of this article is to describe one approach to overriding WooCommerce core template files within a custom plugin, such that they can still be overridden by a theme in the typical way. Note that this is similar to but solves a slightly different problem than what we did to create a custom overrideable woocommerce template file in your custom plugin. Overriding a core template in your plugin is Keep Reading…
The post Override WooCommerce Template File Within a Plugin appeared first on SkyVerge.
Hide WooCommerce "Free" Price Label August 23 2012
A common WooCommerce question lately has been how to hide the “Free” price label in the product/category/shop pages. Thanks to WooCommerce’s judicious use of filters/actions, this is very easy request, yet if you’re new to WordPress/WooCommerce you might not necessarily know exactly where to look. Well look no further, because here’s an easy way to suppress that “Free” notice for regular/variable products: Simply add the above to your theme’s functions.php Keep Reading…
The post Hide WooCommerce "Free" Price Label appeared first on SkyVerge.
Extending the WordPress XML-RPC API August 20 2012
The purpose of this article is to describe the WordPress XML-RPC API, explain how to use it, and demonstrate how to extend it to create custom API methods for interacting programmatically with WordPress. I assume a relative unfamiliarity with XML-RPC in general, WordPress XML-RPC, and spend time first covering the basics, if you want to skip straight to the section on extending the WordPress XML-RPC API, feel free to. What Keep Reading…
The post Extending the WordPress XML-RPC API appeared first on SkyVerge.
Hide Certain WooCommerce Sub-Categories in Catalog August 09 2012
WooCommerce provides some coarse control over displaying sub categories in your shop/category pages with the “Show subcategories on category pages” and “Show subcategories on the shop page” options on the WooCommerce > Settings > Catalog > Catalog Options section. These controls are all-or-nothing though: show all subcategories on the category pages, or show all subcategories on the shop page. If you want finer-grained control, for instance displaying only certain subcategories Keep Reading…
The post Hide Certain WooCommerce Sub-Categories in Catalog appeared first on SkyVerge.
How to Set Up an SSH Tunnel With PuTTY July 26 2012
There’s lots of articles on SSH tunneling, and plenty that cover how to create a tunnel with PuTTY, so why write another one? Because I spent longer than I should have trying to get this working the other day, and failing due to a simple order of operations issue. So I decided to spell it out step-by-step, for people like me who need that extra little bit of help. Step Keep Reading…
The post How to Set Up an SSH Tunnel With PuTTY appeared first on SkyVerge.
WordPress Pretty Category Permalinks Broken and Fixed July 26 2012
This is probably another one of those situations that applies only to me, but just in case someone else out there happens to have this same broken permalink issue, I’ll describe what happened to my site, and how I fixed it. The specifics of my setup were: WordPress 3.4.1, WordPress SEO 1.2.5, and the custom permalink structure /%category%/%postname%/. The problem that someone thankfully alerted me to (gotta get back in Keep Reading…
The post WordPress Pretty Category Permalinks Broken and Fixed appeared first on SkyVerge.
How to Create a Custom WordPress Post Type With Image Uploads July 12 2012
This article details one method of creating a custom WordPress post type with the ability to upload and attach images using the built-in WordPress Media browser. This piece does not cover all the details and nuances of creating a custom post type, as this is covered well elsewhere. In addition to highlighting the most important methods and code required, I have attached a fully functional demo plugin which you may Keep Reading…
The post How to Create a Custom WordPress Post Type With Image Uploads appeared first on SkyVerge.
Create an Overrideable WooCommerce Template File July 06 2012
Sometimes when developing a WooCommerce plugin you want to output a snippet of HTML, and do so in such a way that the content can be easily overridden by a theme. It’s part of the process of crafting a well-engineered, customizable plugin. The best way to achieve this is by using WooCommerce’s own templating mechanism, and what once took some effort and some filters is now a snap thanks to Keep Reading…
The post Create an Overrideable WooCommerce Template File appeared first on SkyVerge.
How to Get Various WooCommerce Page URLs July 04 2012
Code examples of how to get various WooCommerce page URLs such My Account and Checkout
The post How to Get Various WooCommerce Page URLs appeared first on SkyVerge.
Hide WooCommerce Product Images June 29 2012
You can hide WooCommerce product images from the product detail pages by using the following technique.
The post Hide WooCommerce Product Images appeared first on SkyVerge.
How to Add a WordPress Admin Menu Notification Bubble June 27 2012
Adding one of those nifty WordPress admin menu notification number bubbles to your custom menu/submenu is quite easy. Just append the following snippet to your menu/submenu name and you're good to go:
The post How to Add a WordPress Admin Menu Notification Bubble appeared first on SkyVerge.
- Page 1 of 2
- Next