Ask SkyVerge

Default to a WooCommerce Customer Order Note

Here’s a question we came across on the WooCommerce repository recently: “The default behavior before the update was for the Add Note section to default to Note to Customer. We have part of our workflow expecting this and now there is an additional step changing the type of note. Is there a way for us to change the default back to Note to Customer?” The default option for adding an order note was changed in…

Read More

WooCommerce reviews + tutorials

Widgets, Part Deux: Create a Smart WooCommerce Widget

This is post 4 of 8 in the series “Build a WooCommerce Extension” We’ve covered how to create a WooCommerce widget in a very basic sense in an earlier post in this series. However, there are some more advanced steps we can take to create “smart” WooCommerce widgets for your store. Creating a “Smart Widget” If you frequently use WooCommerce widgets, you’ll notice that some of them are displayed only on certain pages. For example,…

Read More

WooCommerce reviews + tutorials

How to Create a WooCommerce Widget

This is post 3 of 8 in the series “Build a WooCommerce Extension” Today we’re continuing our series on building your first WooCommerce plugin with an article on how to create a WooCommerce widget for your store. Widgets and shortcodes are great tools to let users output some information on the frontend of their eCommerce site, and they’re fairly easy to build and include as part of your plugin. We’ve already written about creating a…

Read More

Next Evolution of the WooCommerce iOS App

Just over a year ago, we shipped a product we’d partnered with WooCommerce to build that we thought would be a great addition to the WooCommerce platform: the WooCommerce iOS app. Our goal was to build something that would let store owners keep a pulse on how their store was doing, and that this would evolve into a tool that would let WooCommerce shop owners manage some of their store on-the-go as development progressed. We…

Read More

month in review

August in Review

While we send out a weekly newsletter (which you should sign up for if you haven’t!), we thought that a monthly recap of changes, updates, and new releases would be a great addition for our blog. We’d like to cover some of what we were up to throughout August and what’s changed with our plugins to share them with you, along with a preview of next month. General updates Subscriptions 2.0 support Memberships v1.3 Product…

Read More

Get All WooCommerce Orders for a Customer

There are several reasons you might want to get all WooCommerce orders for a customer in your shop. For example, you may want to find out if they’ve ever purchased a product, or do something as simple as count the number of orders they’ve placed with you. Since orders are a custom post type, you can use get_posts to query orders, which is a pretty standard WP query that most developers are familiar with and…

Read More

How to Simplify Free WooCommerce Checkout

For most WooCommerce checkouts, customers will be purchasing products and remitting payment to your store. They may also be selecting shipping methods or entering coupon codes. However, when customers purchase a free item, you may not need all of the fields at checkout if you’re not collecting any payment for shipping. As a result, you may require almost none of the checkout fields. While WooCommerce will helpfully remove payment method selection for free checkouts, the…

Read More

Add Actions to WooCommerce My Orders Table

You can easily add action buttons to the WooCommerce My Orders table in the customer’s My Account section of your site. The default buttons include actions like “Pay”, “Cancel”, and “View”, but you can add your own actions for each order. The woocommerce_my_account_my_orders_actions filter makes it very simple to add our actions. Actions are an array, so you add your own action into the array and then give them back to WooCommerce. The filter gives…

Read More

Get a list of WooCommerce sale products

You can get lists of all simple products, variable products, or featured products easily with WooCommerce. It’s also easy to get things like “in-stock” products or “out of stock” products. However, getting a list of WooCommerce sale products can be a bit tougher because sale products use different meta keys to determine sale status depending on the product type. Let’s take a look at a couple of ways you can get sale products. Check sale…

Read More

How to add a flash for WooCommerce Featured Products

When a product is on sale in your shop, WooCommerce adds a sales flash to that product to show customers that the product has a sale running to draw their attention to it. This sales flash is shown on the shop page and on the single product page to keep the customer informed. Depending on how you’re using “Featured” products in your shop, you may want to draw the customer’s attention to the featured products…

Read More