All posts tagged WooCommerce

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, Keep Reading…

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 Keep Reading…

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 Keep Reading…

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 Keep Reading…

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. Keep Reading…

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 Keep Reading…

How to Add WooCommerce Custom Order Actions

If you’re building a plugin or internal tools for WooCommerce, it’s helpful to be able to run actions or shortcuts for order records, as this is what much of your day-to-day management is concerned with. Today we’ll look at how to add WooCommerce custom order actions so that you could modify order data, add information to orders, send order data externally, or run any general action that requires order details. Keep Reading…

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 Keep Reading…

Hide WooCommerce Product Reviews Until Purchase

We’ve got an Ask SkyVerge questions queued up for today from Sam: Is there a way to display the WooCommerce review tab only for customers who bought the product? That way users who never bought the product will not be able to see the review tab. Product reviews are one of the most important indicators of social proof for an eCommerce site, and they’re an excellent tool to help customers Keep Reading…