Ask SkyVerge

How can I require customers apply for a membership and approve their access?

While WooCommerce Memberships is flexible in how your customers can become members, it’s useful for some sites to let customers apply for a membership and then accept or reject their membership. This is desirable for merchants who want a great deal of control over who gets access to membership perks on their site. If you’re interested in setting up Memberships to require application and approval, please let us know! In the meantime, here are a…

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

SkyVerge WooCommerce Extensions

Add Member Area Links to the Sidebar with WooCommerce Memberships

When a customer has at least one membership assigned or purchased via WooCommerce Memberships, the customer will be able to see the “My Memberships” table via the account dashboard. This lets your members see membership information, and if you have the member area enabled, members can get lists of their available content, products, and discounts. However, some sites use both Memberships and WooCommerce Subscriptions and may want to remove this “My Memberships” table, as some…

Read More

WordPress development tutorials

Developers: Stop Using sslverify = false — WordPress has you covered

I listened to a talk recently about using WordPress to communicate with external APIs, which is something we do frequently at SkyVerge. We’ve built over 20 payment gateway integrations for WooCommerce, each of which needs to communicate with the payment processor’s API. One thing that I noticed in the talk is that setting sslverify = false when using wp_remote_get or wp_remote_post was recommended. This is a fairly common practice and has thus become recommended for…

Read More

Overriding Templates in WooCommerce Extensions

WooCommerce has a system in place that will allow you to override core templates within your child theme. This means that you can copy a template file, edit it, and the edited version in your theme will be loaded instead of the core version of the template. We do encourage you not to do this, as most changes can be made via hooks (filters and actions) instead, and this method is far more upgrade-safe than…

Read More

WordPress development tutorials

How to move Jetpack Social Sharing Buttons before a post

If you use Jetpack on your (self-hosted) WordPress site, you probably use the sharing buttons (sharedaddy) capabilities that Jetpack has. By default, these sharing buttons are shown at the end of your post following the content. This tutorial will show you how to move Jetpack Social Sharing buttons elsewhere in your post, such as before your content. You can also check out this overview from the Jetpack team. We’ll assume a couple of things: You…

Read More

Ask SkyVerge

How to Add Content Below WooCommerce Featured Image

Here’s a tiny snippet based a question from Julie: How can I add a notice right below the WooCommerce featured image on the product page? It should say “click to enlarge” right below the image. There’s an action that you can use to add content below featured images, which can be used before or after product thumbnails. The woocommerce_product_thumbnail action is what will help us out. Let’s add a notice that says, “Click to Enlarge”…

Read More

Changing WooCommerce Custom Order Status Icons

If you’re using the official WooCommerce iPhone app, you may have noticed that custom order statuses have their own icon when displayed in your order details: These handy little icons (designed by Jay Koster) can be added to your WooCommerce “Orders” page as well so they’re consistent throughout your shop and the app. Here’s a quick guide on how to add WooCommerce custom order status icons. You don’t have to be using the iPhone app…

Read More

WordPress plugins vs themes

Why Use Plugins Instead of Theme Changes?

Since we develop a lot of plugins (mostly for WooCommerce) and do some custom development, we get a lot of questions on best practices or recommendations for adding functionality to a site. Many times we’ll provide suggestions or guidance and tell people they should create a custom plugin, which prompts the question, “Couldn’t I just modify my theme template or buy a theme with this built-in this instead? I don’t want to have too many…

Read More

Guide for Upgrading to WooCommerce 2.1

WooCommerce 2.1 was released on Monday, and makes several changes to the core plugin. As a result, you may experience issues when upgrading if you don’t pay attention to a few of the changes. The guide that follows is a general overview of some things to look out for when upgrading to WooCommerce 2.1 to make the transition from WooCommerce 2.0 as smooth as possible. There are a couple of known issues that are being…

Read More