Ask SkyVerge

Change the default WooCommerce External Product Button

This is an Ask SkyVerge question from Manuel: How can I change the add to cart button for external products? I need to use something besides “Buy product” for my external products. The good news here is that there’s already a setting for your WooCommerce external products to change the button text. When you edit the product, you can enter the button text while creating it, right after you enter the product link. This will…

Read More

Ask SkyVerge

How to Print Invoices for WooCommerce Orders by Date Range

We’ve got a new Ask SkyVerge question today! This one comes from Thomas: Does Print invoices / packing lists have a date picker? For example, if I would like to print only invoices from May 23 to May 28, can I do this? This is an excellent question, and the answer is not right away, but it can with a bit of help. Print Invoices / Packing Lists allows you to print invoices, packing lists,…

Read More

WooCommerce reviews + tutorials

WooCommerce Class Members Example: Create a WooCommerce Upsell Shortcode

This is post 7 of 8 in the series “Build a WooCommerce Extension” When building your first WooCommerce plugins, it’s a good idea to look at other extensions or WooCommerce core itself for ideas. You’ll notice that many of them take an OOP (object-oriented programming) approach. Rather than being composed solely of functions that take in data, use some logic to manipulate the data, then output data, the code focuses on objects and the properties…

Read More

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

Ask SkyVerge

Create a “My Memberships” section shortcode with WooCommerce Memberships

Today’s question comes from Scott: Can I use or create a shortcode to have the “My Memberships” area outside of the “My Account” page? In other words, if I wanted to place My Memberships on a page other than the default /my-account page, would I be able to do that? This is an interesting question, as you could add the “My Memberships” table to a custom page on your site, protect that page for members,…

Read More

Add WooCommerce Email Recipients Conditionally

This comes from an interesting question we got from Helmar: Is it possible to send an “order received” email to a second recipient only if the order contained a tangible product? Background: If I receive orders with tangible products, my shipping company gets a CC of that order in order to fulfill it. If the order contained no tangible product, there’s no need for them to receive a copy of the order. This is definitely…

Read More

Email

Add a Registration Link to WooCommerce Customer Emails

I got a purchase receipt email recently that had a lot of great details, such as the shipping status of each item ordered, along with some related items that I might be interested in. However, there was one section that I found kind of interesting: the email had a registration prompt telling me all of the benefits of creating an account with the site. I thought this was pretty neat, and adding a prompt like…

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

Change the WooCommerce Price Display

Here’s an interesting question we got from Mike: I sell grass fed beef skewers, and there are a certain number of skewers per pound. Customers should be able to select the number of skewers, but I want to show them the cost per pound so they can compare them. Is this possible? There are a couple moving parts to this question, but the optimal solution here would be to change the WooCommerce price display. As…

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