Automatically Apply Coupons in Cart on WooCommerce

Providing great deals is a wonderful way to entice first time and returning customers. Imagine if you’ve created a coupon for a product on your store that you want everyone to use. Sure you can add a site banner to inform the customers of the coupon, what if they forget to enter the code though? There may be another way, what if you can have the coupon automatically apply at Checkout if conditions are met.

Using the WooCommerce Extended Coupon Features this is totally possible! Let’s see how it’s done.

How can I set a coupon to automatically apply to the cart for my customers?

Applying coupons to the cart automatically simplifies the checkout process even further, making purchasing with a coupon as easy as possible for your buyers. First, install the WooCommerce Extended Coupon Features plugin on your shop, you can find the plugin here. Once the plugin is installed and activated on your site you can continue.

To start using this plugin, go to WooCommerce > Coupons. Under Coupon data > Miscellaneous choose ‘Auto coupon‘ as shown in the example and check the Auto coupon box.

And that’s about it! More or less, the coupon system and configuration works the same as before – now you have the option to auto apply your coupons though.

Disable the In Stock message on WooCommerce Products

Lets say you have an eCommerce business selling customized coffee mugs. Each mug you sell gets a custom message printed on it and you just fill the orders as they come in. You know each mug gets customized before shipping out, so you don’t really need to track the inventory.

If you happen to run out of your local stock of blank mugs then you’ll just buy a new box, no big deal. In a case like this you may track inventory, but don’t actually need WooCommerce to report this. So how can you hide the ‘In Stock’ message on your product pages? Continue reading “Disable the In Stock message on WooCommerce Products”

Create a direct ‘Add to Cart’ link for Products in WooCommerce

If you run a blog and a store all on the same WordPress instance, chances are you are going to talk about products you sell in your blog posts. So how can you make it really easy for your visitors to add products you blog about directly to their cart? You can create a URL that you can use in your posts. Continue reading “Create a direct ‘Add to Cart’ link for Products in WooCommerce”

Add a questions form tab to all products in WooCommerce

Depending on the products you sell, you may want to add a product inquiry tab so that it’s available for your shoppers in the event that they want to contact you about the product. Let’s look at two ways you can do this.

How can I add a product inquiry tab and form to all of my products on my store?

Option #1: WooCommerce Plugin

The easiest way to add a product inquiry form on your products is to use the Products inquiry form from WooCommerce. This creates a form tab and has a few minor settings but it’s pretty much plugin and play.

Option #2: Form Builder Compatible Plugin

If you use a form builder like Gravity Forms, Ninja Forms, WPForms or even Formidable Forms, you can use WooCommerce Tab Manager from SkyVerge. WooCommerce Tab Manager allows you more finite control over the tabs on your products page, including the option to add a form to a tab.

Using GTIN numbers on products in WooCommerce

By default WooCommerce adds in a SKU custom field to products, but that may not cover your needs, depending on the products you offer. If you’re selling books or magazines ISBN numbers are going to be necessary. Various GTIN (Global Trade Identification Number) options are also important, both for selling and for tracking your products.

How to add GTIN number fields to WooCommerce Products

Or: I need to be able to add GTIN numbers onto the products listed on my store, but WooCommerce only adds an option for SKU?

Fortunately, there is code that can be added to your theme’s function.php that will allow you to use different GTIN options, be they UPC, EAN or ISBN numbers, for the products you’re selling. This is also handy if you happen to be listing your products on Amazon, via a feed.

WordPress Code Warning:
This article features code changes, or snippets, that you can make in your active themes function.php file. If you are unfamiliar with this task, or want to brush up, we have an article on Managing code snippets in WooCommerce. The technique provided can be used for both WordPress and WooCommerce sites.

It is recommended that you try this in a staging environment, which allows you the ability to make sure you have the functionality you’re looking for, without impacting your live site until you’re ready.

Alternative Option: Use a plugin to add GTINs

The option above is great if you’re familiar with customizing your site with code. You can easily drop that code into your themes functions.php file or even as a mu-plugin and get rolling. For those less familiar with using code though an alternative exists. There is a plugin on WordPress.org that can add the field in for you called WooCommerce Add GTIN: UPC, EAN, and ISBN. Just install this plugin like any other one and you’ll be good to go.

Setting Featured Products in WooCommerce

Featuring products on your website is a great way to show your best selling or popular products from your store. And setting products as featured products is super simple. WooCommerce has some built in functionality to making this happen. Let’s take a look below.

How do I set certain products as featured products?

To begin open and log into your WooCommerce sites Admin area. Navigate to your products page and find the product you want to have be featured, click the star to make that product be a featured product. It’s really that simple.

Once you have featured products set up, WooCommerce will allow you to show all of your featured products by using a shortcode. An example is below. Note that you can change the per page and columns to fit your needs.

[featured_products per_page=”10” columns=”2”]

It’s that easy. With those two steps, you are now showing your featured products to your visitors.

Selling digital products with WooCommerce

So far, we’ve covered a good variety of WooCommerce topics – we touched on order management, product creation and shop customizing. One scenario we haven’t covered yet is selling non-physical products. For example, what would you do if you needed to sell a subscription or a digital download?

In this article we’ll quickly go over how you can setup digital products for download. These are products that are not shipped to the user but rather an item they download – like an eBook.

How can I add digital download products to my store?

You can add a digital download product the same way as you would a simple product or a variable product. The only big difference is that you need to mark it as ‘downloadable’. Next you need to add the downloadable file, or files, to that product.

As you can see, in the example above, the process is very similar to creating any other product. Once you click the Downloadable check box you’ll have fields specific to digital products. In these fields you can control: a) the files included in this digital product, b) the amount of times the consumer can download the product, and c) the number of days before the download link expires.

Further reading

Overall the process is the same as creating a basic product in WooCommerce with a few new options. If you’re familiar with building products in WooCommerce then creating your first digital product should be a breeze. If you’re trying to create something more advanced though you can always read the official WooCommerce docs on Digital/Downloadable Product Handling.

Control number of products per page in WooCommerce

A common question that comes up after someone gets their WooCommerce store setup is about customization. Setting up your store and getting the products loaded in is just part of running any webstore. One of the biggest benefits to WooCommerce is the opportunity for customization.

In the coming posts on WooCommerce we’ll explore some basic customization tasks that come up. Starting with a simple one, say you wanted to adjust the number of products that are shown per page in your shop. Continue reading “Control number of products per page in WooCommerce”

What is a progressive JPEG?

The JPEG image format is one of the most commonly used image formats on the web. The format is most often used for colorful, complex images such as photographs. The JPEG specification includes a range of valid file extensions, however the most common are .jpg and .jpeg.

No matter the extension used all JPEG images will be treated more or less the same. Although not all JPEG images are created equally. In the image formats specification there exists a lesser known setting. This setting, called Progressive Mode, can drastically improve the experience using JPEGs on the web. Continue reading “What is a progressive JPEG?”