Add Text to the WooCommerce Review Form

Product Reviews are one of the most powerful selling tools your store has. We have an extension to add fields like qualifier questions (“How did this fit?”) and accept attachments like uploads, but you can add simple text notices to reviews without an extension. WooCommerce already includes a couple of additional fields in the review form that are not set: comment_notes_before: shown above the name / email fields when the reviewer is not logged in…

Read More

Ask SkyVerge

WooCommerce: Remove Link to Product Page from the Shop

We’ve got a couple new Ask SkyVerge questions prepped for you this week! The first question comes from Randy: I’m wondering how to remove the links on the shop page to the single product page — I simply want users to be able to click on the ‘add to cart’ button on the shop page. If you’re using WooCommerce 2.5+, there’s a code snippet that can do this for you now! Please see this comment…

Read More

Ask SkyVerge

How to Hide SKUs on WooCommerce Product Pages

Here’s an Ask SkyVerge question from Marley: Is there a way for me to hide SKUs in WooCocommerce from the single product template without overriding it? I’m currently overriding the single product meta template and deleting the SKU from being adding, but I’d rather do this via a code snippet so I’m not overriding that template if it can be done. We covered this previously in our 20 WooCommerce How to’s, but I think it’s…

Read More

Get a List of all WooCommerce Coupons

While WooCommerce contains tons of helper functions, such as functions that will give you all “on sale” products, there’s no function in WooCommerce that will return all coupons present within a shop. This is because there’s a pretty easy way to query them yourself because coupons are their own custom post type: the shop_coupon post type. This means that we can simply query all posts for that post type to get a list of WooCommerce…

Read More

WooCommerce reviews + tutorials

Hooking into WooCommerce Actions

This is post 2 of 8 in the series “Build a WooCommerce Extension” Today’s post continues our series on building a WooCommerce extension. We started the series by discussing how to use filters to change your site content, and today’s post will be about actions. Actions and filters make up the basic building blogs of extending WordPress plugins and themes, as they allow you to change or add code to WordPress, themes, or plugins. WooCommerce…

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

WooCommerce reviews + tutorials

Building Your First WooCommerce Extension

This is post 1 of 8 in the series “Build a WooCommerce Extension” While we’ve written a lot of tutorials on WordPress and WooCommerce development or how to extend WooCommerce, we’ve never written a series on how to start developing WooCommerce plugins. We’ve decided to write about building simple WooCommerce extensions so that you can get started building your own simple plugins to bend WooCommerce to your will. All extensions are WordPress plugins that hook…

Read More

SkyVerge WooCommerce Extensions

How to Import WooCommerce Tabs with Tab Manager

Product tabs are a great tool for organizing your product data, which is why WooCommerce Tab Manager can be very helpful. While the ability to add global and product-specific tabs is useful, you may want to import your tab data instead if you have several tabs to create. This guide will show you how to import global and product-level WooCommerce Tabs with the WooCommerce Tab Manager. This tutorial is only relevant for tabs created with…

Read More

Add Information to the WooCommerce Shop Page

Today’s tutorial will show you how to add information, such as custom fields or product meta, to the WooCommerce shop page. This can be really useful if you have product information that should be displayed before viewing the single product page. You can add the SKU to the WooCommerce shop page, display available inventory or stock status, show shipping weight, and more. If you’ve never added custom code to your site, check out our tutorial…

Read More

Sort WooCommerce Products by Custom Fields or Post Meta

We’ve got a plugin that will allow you to add WooCommerce product sorting options (not to mention one that will remove core sorting options as desired), but you may need a more customized solution for sorting your products. In this case, you may want to sort WooCommerce products by your custom fields or by other post meta values. Let’s go over how we can add sorting options for custom fields that we’ve set for our…

Read More