SkyVerge WooCommerce Extensions

Adding WooCommerce Memberships Restriction Notice Merge Tags

We got an interesting question this week from a developer: Is there a way to show Membership Plan Names in a “content restricted” notice instead of products to buy? In this case, the site wasn’t selling Memberships, but rather taking applications for them, so the plan names made more sense. This question can show us a couple interesting concepts today to look at: (1) creating a helper method to get plans that restrict a product,…

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

Ask SkyVerge

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 make purchasing decisions and learn…

Read More

WooCommerce reviews + tutorials

How to Create a Simple WooCommerce Payment Gateway

This is post 4 of 4 in the series “Build a WooCommerce Extension” This series walks you through some of the beginner to intermediate skills you’ll need to build your first WooCommerce extension. Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 WooCommerce Class Members Example: Create a WooCommerce Upsell Shortcode How to Create a Simple WooCommerce Payment Gateway Within our series on building a WooCommerce extension, we’ve talked…

Read More

SkyVerge WooCommerce Extensions

Setting minimum and maximum input values with Measurement Price Calculator

A frequent question I get from developers using our Measurement Price Calculator plugin is along these lines: Can I set minimum and maximum input values for measurements? At present, this isn’t possible because (1) a UI for measurement attributes would be a bit tough to do on the current product page without being confusing, and (2) the inputs for measurements are currently text fields, not number inputs. The reason for this was to maintain the…

Read More

SkyVerge WooCommerce Extensions

Limiting Members to One Membership with WooCommerce Memberships

When we built WooCommerce Memberships, one of the biggest requests we had from our surveys and beta testers was to build a plugin that would allow customers to have as many memberships as they wanted to purchase. This became one of the major decisions we made in the initial version, and any customer can have 0 or more memberships. However, some shops want to limit the number of memberships a customer can have, most commonly…

Read More

WooCommerce reviews + tutorials

WooCommerce Class Members Example: Create a WooCommerce Upsell Shortcode

This is post 3 of 4 in the series “Build a WooCommerce Extension” This series walks you through some of the beginner to intermediate skills you’ll need to build your first WooCommerce extension. Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 WooCommerce Class Members Example: Create a WooCommerce Upsell Shortcode How to Create a Simple WooCommerce Payment Gateway When building your first WooCommerce plugins, it’s a good idea…

Read More