Storage

Customer and order exports for any server environment

Today I am excited to share some improvements that have just been released for our CSV Export and XML Export plugins! The big ticket item for these releases is a refactor of the way that exports are stored. You won’t see any visible differences in these latest changes, but if you look under the hood, you’ll see that these plugins just got a major upgrade. ???? Disclaimer This post may get a bit technical, so go…

Read More

Ask SkyVerge

Adding Columns to the WooCommerce My Orders List

Time to start with our first Ask SkyVerge question of 2018 🙂 This question is from Houdayer: Is there a way to add shipping information in the table at MyAccount > Orders? Sure thing! We’re looking at the “Orders” menu in the my account page currently, which shows order number, date, status, total, and actions by default: The woocommerce_my_account_my_orders_columns filter lets us add or adjust the columns included in this list, so we can add…

Read More

Ask SkyVerge

Blocking WooCommerce Social Login Registration

We’ve got an Ask SkyVerge question today from Jonathan that’s a neat usage of Social Login hooks: Is there a way to only allow social login for people who have an account already? Meaning we don’t want to create an account for them automatically since they should purchase a memberships to log in. Sure thing — there are hooks that will let us hook into Social Login just before it creates an account to stop…

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

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

WordPress development tutorials

Screen ID checks with WordPress Submenu Pages

Chances are if you’ve read our series on adding plugin settings to WooCommerce, you’re using an existing WooCommerce settings page or new settings tab to add any required configuration options for your plugin. If you have a more complex plugin who’s data will be accessed very often (such as Memberships or Subscriptions), you may even be adding a new submenu with a custom settings or usage page for your plugin. However, we’ve run into any…

Read More

Get all WooCommerce Refunded orders

I ran into an interesting problem recently for a consulting project where the client needed to know what orders have had refunds processed in WooCommerce. While helping out with this problem, I found that there isn’t a great way to get all refunded orders at once, only to get refunds for a particular order. There are a couple ways you could approach this issue. Let’s start with the couple methods they’d tried first: Get all…

Read More

month in review

September in Review

These months just keep rolling by us! Time for another monthly recap 🙂 Our August review mentioned some of the development updates we’ve got today, and we have some new projects in progress as well. General Updates I don’t have too many general updates to share this month, other than it’s been crazy and exciting with several releases on our end. We haven’t written too many blog tutorials since we’ve been busy announcing updates, but…

Read More

Disable Repeat WooCommerce Purchases for a Product Category

We previously wrote up a tutorial on preventing repeat purchases for a particular WooCommerce product, or for any product in your store. However, based on the comments there, some merchants wanted to disable repeat WooCommerce purchases for a set of products, but not all products. In order to do so, you could use a product category to check whether repeat purchases should be allowed or not. This would let you group all products that shouldn’t…

Read More