Moving WooCommerce Upsells on Product Pages

Your WooCommerce products can have upsells assigned to them so that you can encourage customers to buy different versions or more expensive products while visiting your product page. You can add these under Product Data > Linked Products while editing a product, and the upsells will be shown at the end of your product description. However, most times this is at the bottom of your product page. What if customers don’t end up scrolling all…

Read More

SkyVerge WooCommerce Extensions

Add a custom Member Area section in WooCommerce Memberships

WooCommerce Memberships 1.5 has been recently released. This release consisted of a compatibility release that added support for WooCommerce 2.5, and also included a number of minor tweaks and bug fixes (see here for the complete Memberships changelog). Soon we will begin work on the next release to introduce new features! Meanwhile, here’s another post about the Member Area, a feature introduced in Memberships 1.4 early last December. This component creates a new page accessible from…

Read More

Team

Add Plugin Settings to WooCommerce, Part 2

This is post 6 of 8 in the series “Build a WooCommerce Extension” In part 1 of “Adding plugin settings to WooCommerce”, we showed you how to add plugin settings to an existing settings section (e.g., “Products > General”) or to an existing settings tab in a new section, such as a new section under “Products”. However, if your plugin has a lot of settings, (something like Memberships is a good example), then you may…

Read More

WooCommerce reviews + tutorials

Add Plugin Settings to WooCommerce, Part 1

This is post 5 of 8 in the series “Build a WooCommerce Extension” Our series has been going over creating your own plugin, but we’ve focused primarily on what your plugin does. You may need to let your users make choices as to how the plugin acts, so your plugin may require its own set of settings. Using the WooCommerce settings API is the best way to add settings for a WooCommerce extension, as you’ll…

Read More

How to Add WooCommerce Delivery Estimates

Showing a delivery estimate for WooCommerce shipping methods can help your customers determine which method is best for the order. For example, while free shipping may be available, what if this takes longer and the customer needs the package by a certain date? To avoid situations like this which may result in an abandoned cart, you can communicate the estimated shipping time up front during the cart / checkout process instead. While you can show…

Read More

WordPress development tutorials

How to Generate a Post Excerpt Outside the Loop

When you work with WordPress, you become pretty familiar with using the WP_Post object or objects for custom post types. For example, while working with WooCommerce, products use the WC_Product post object (or the object for a class that inherits this, such as WC_Product_Variation). If you’re in the loop while working with posts or custom post types, get_the_excerpt() is a beautiful function, as it returns the excerpt if it’s set by the user, and automatically…

Read More

Prevent Repeat Purchase with WooCommerce

Depending on what kind of products you sell, you may want to prevent customers from purchasing a WooCommerce product more than once from your store. For some shops, you may want to disable any repeat purchases at all, or you may want to prevent repeat purchase only for a specific product. We’ve seen this most commonly with WooCommerce Memberships, as shops may want to restrict a free trial membership from being “purchased” again, or restrict…

Read More

WooCommerce reviews + tutorials

Widgets, Part Deux: Create a Smart WooCommerce Widget

This is post 4 of 8 in the series “Build a WooCommerce Extension” We’ve covered how to create a WooCommerce widget in a very basic sense in an earlier post in this series. However, there are some more advanced steps we can take to create “smart” WooCommerce widgets for your store. Creating a “Smart Widget” If you frequently use WooCommerce widgets, you’ll notice that some of them are displayed only on certain pages. For example,…

Read More

WooCommerce reviews + tutorials

How to Create a WooCommerce Widget

This is post 3 of 8 in the series “Build a WooCommerce Extension” Today we’re continuing our series on building your first WooCommerce plugin with an article on how to create a WooCommerce widget for your store. Widgets and shortcodes are great tools to let users output some information on the frontend of their eCommerce site, and they’re fairly easy to build and include as part of your plugin. We’ve already written about creating a…

Read More

month in review

August in Review

While we send out a weekly newsletter (which you should sign up for if you haven’t!), we thought that a monthly recap of changes, updates, and new releases would be a great addition for our blog. We’d like to cover some of what we were up to throughout August and what’s changed with our plugins to share them with you, along with a preview of next month. General updates Subscriptions 2.0 support Memberships v1.3 Product…

Read More