Prevent Repeat Purchase with WooCommerce

Depending on what kind of products you sell, you may want to prevent customers from purchasing a WooCommerce product more than once from your store. For some shops, you may want to disable any repeat purchases at all, or you may want to prevent repeat purchase only for a specific product. We’ve seen this most commonly with WooCommerce Memberships, as shops may want to restrict a free trial membership from being “purchased” again, or restrict…

Read More

New year

Four Years of WooCommerce

Congratulations to our friends at WooCommerce this week! In case you didn’t know, WooCommerce is just about 4 years old, with the first release on September 27, 2011. Since they wrote about WooCommerce turning 1 on September 24, we decided we could post this a bit early as well 🙂 First, we couldn’t be happier to be a part of the WooCommerce ecosystem, and it’s hard to believe four years have gone by. Our founders…

Read More

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