Ask SkyVerge

Adding Columns to the WooCommerce My Orders List

Time to start with our first Ask SkyVerge question of 2018 🙂 This question is from Houdayer: Is there a way to add shipping information in the table at MyAccount > Orders? Sure thing! We’re looking at the “Orders” menu in the my account page currently, which shows order number, date, status, total, and actions by default: The woocommerce_my_account_my_orders_columns filter lets us add or adjust the columns included in this list, so we can add…

Read More

SkyVerge WooCommerce Extensions

Add a Lock Icon to WooCommerce Memberships Restricted Posts

We’ve gotten this question a few times, most recently from Jon: Can I add a lock icon before restricted posts? I already use FontAwesome, but I’m not sure how to add / remove the lock depending on whether the customer has access. Definitely do-able 🙂 As Jon has noted though, be sure that FontAwesome is already loaded on your site so the icon can be shown. To add the icon, we’ll filter the_title to adjust…

Read More

SkyVerge WooCommerce Extensions

WooCommerce PDF Product Vouchers – Voucher Custom Fields

Since version 3.0 was released for our WooCommerce PDF Product Vouchers plugin, the addition of custom voucher fields has been made far easier for developers working with the plugin. There a couple of simple hooks available to let you add some basic voucher data, and then the plugin does the heavy lifting to add settings for these in the voucher template customizer, printing them on the voucher, and on product pages when a voucher is…

Read More

Ask SkyVerge

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 below the product description: We…

Read More

SkyVerge WooCommerce Extensions

WooCommerce Memberships: Add “View Subscription” Action to My Memberships

Here’s a quick question we’d gotten in a support thread: How can I add a link to “Cancel” a membership with it’s subscription to the “My Memberships” table? Unfortunately, adding a link to cancel both a membership + it’s associated subscription isn’t really straight-forward — this is why the “cancel” action is removed in the first place when a memberships is tied to a subscription. This way, cancelling the billing record is the only way…

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

Ask SkyVerge

Prevent WooCommerce Checkout for Add-on Products

Today’s Ask SkyVerge question comes from Ian (I’m paraphrasing it a bit though): Is there a way to prevent purchase if a customer only has certain products in the cart? I sell ink cartridges as add-ons for printers, but these should not be purchased alone. I tried using a grouped product, but a customer could only order cartridges or remove the main product from the cart. Can checkout require another category to be present? Sure…

Read More

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