SkyVerge WooCommerce Extensions

Moving WooCommerce Orders Between Sites

One of the most common problems for WooCommerce stores that have multiple environments (such as a staging and live version of the site) is how to move data back and forth between these versions of the site. For example, what if you use an eCommerce-friendly host like SiteGround or Kinsta who has a one-click staging environment you can use? You could update a design or content on the staging site, but to push that information…

Read More

Filtering WooCommerce Orders

Filtering your WooCommerce orders gives you a way to find the transaction records you’re looking for faster. When we’re working on threads in the help desk, this is useful to us as developers as well so we can find the orders relevant to the issue quickly. One of the most helpful filters for debugging is to filter orders by payment method used, as we’ll use this for payment gateway support, or when seeing if an…

Read More

SkyVerge WooCommerce Extensions

Add a Lock Icon to WooCommerce Memberships Restricted Posts

We’ve gotten this question a few times, most recently from Jon: Can I add a lock icon before restricted posts? I already use FontAwesome, but I’m not sure how to add / remove the lock depending on whether the customer has access. Definitely do-able 🙂 As Jon has noted though, be sure that FontAwesome is already loaded on your site so the icon can be shown. To add the icon, we’ll filter the_title to adjust…

Read More

SkyVerge WooCommerce Extensions

Adjust WooCommerce Memberships Exports

A popular feature with WooCommerce Memberships is the ability to import and export members. While the default export includes membership data, you may want to include other data here as well. Modifying the export is possible, as there are hooks available to change the CSV output; we’ll go over a couple straight-forward examples in this guide. Please note this guide requires beginner PHP development and WordPress skills. Filter WooCommerce Memberships Export Column Headers The first…

Read More

Add a WooCommerce Orders List Column

When viewing the “Orders” list in WooCommerce, you’ll see a set of columns that will show you details about orders in your store. While you can remove columns easily using the “Screen options” tab, adding columns requires some custom code to determine what the column data should be. Let’s take a look at adding some custom WooCommerce Orders list columns today. In this case, we’ll add a “Profit” column to show the order’s profit when…

Read More

SkyVerge WooCommerce Extensions

How to Export WooCommerce Refunded Orders

When we discussed how to get all WooCommerce orders with a refund, we talked about why the “refunded” status isn’t a great way of tracking orders with a refund, as a partially-refunded order will not have that status. We put together a helper function to directly query refunds and return the associated order IDs for them. Now let’s talk about a good use-case for that helper: exporting refunded orders. This tutorial requires intermediate PHP and…

Read More

SkyVerge WooCommerce Extensions

WooCommerce PDF Product Vouchers – Voucher Custom Fields

Since version 3.0 was released for our WooCommerce PDF Product Vouchers plugin, the addition of custom voucher fields has been made far easier for developers working with the plugin. There a couple of simple hooks available to let you add some basic voucher data, and then the plugin does the heavy lifting to add settings for these in the voucher template customizer, printing them on the voucher, and on product pages when a voucher is…

Read More

Moving WooCommerce Related Items to a Product Tab

Back in action this week with some tutorials scheduled! First up, we have an Ask SkyVerge question today from Rebecca: You’ve got a great article on how to move product upsells to a widget. But what about moving them to a tab? I’d love your ideas on how to make the tab disappear if there are no upsells. Definitely possible! By default, the upsells are shown on the product page below the product description: We…

Read More

SkyVerge WooCommerce Extensions

WooCommerce Memberships: Add “View Subscription” Action to My Memberships

Here’s a quick question we’d gotten in a support thread: How can I add a link to “Cancel” a membership with it’s subscription to the “My Memberships” table? Unfortunately, adding a link to cancel both a membership + it’s associated subscription isn’t really straight-forward — this is why the “cancel” action is removed in the first place when a memberships is tied to a subscription. This way, cancelling the billing record is the only way…

Read More

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match