WooCommerce: When to Use Hooks and When to Use Templates

One of the best reasons to use WooCommerce is that it's a fully featured e-commerce platform and it's open source. That means you can customize every. single. line of code. If you don't like the way something works you can change it or you can hire a developer to change it for you. It's great knowing that as your business grows your software will grow with you.

There are two ways of changing the way WooCommerce works:

  1. Overriding templates
  2. Adding & removing hooks

Both of these methods are good at different things so I'll share when is an appropriate time to use each of them.

Continue Reading…

WooCommerce Sort Shipping Methods By Cost

WooCommerce has plenty of shipping options. You can use USPS, FedEx, UPS, flat rate shipping, free shipping, or even create your own table rates. Lots and lots of options for you. If you want to give your customer the choice between these options it can be a bit difficult. WooCommerce will lump the different services together which is nice if you want to see all the USPS, FedEx, UPS, etc. options together. But it doesn't help you if you want to sort by cost and that's how most users want to see things. Either by cost or by delivery time. With a bit of code you can sort the options by cost.

WooCommerce Shipping Costs

The WooCommerce shipping methods in the default order.

Continue Reading…

WooCommerce Redirect to Category Page

In WooCommerce when you add a product to your cart the product page refreshes with a little banner confirming you added the item to the cart.

WooCommerce Added to Cart Notice

The “added to cart” notice in WooCommerce

This is useful for big e-commerce stores like Amazon where users are likely to buy multiple items with every checkout. But this isn't useful for every retailer. Some retailers sell very different products and users rarely buy more than one at a time. For example if you sell computer desks like Rebel Desk (yes they totally use WooCommerce) it's unlikely that someone will buy more than desk. And in that case it may help your users to redirect them to another page. Maybe the shop page, maybe a specific category, or maybe directly to the checkout. With a snippet of code you can do that in WooCommerce.

Continue Reading…

How to Customize the WooCommerce Sorting Dropdown

Being able to organize your store however you want is one of the best parts about using WooCommerce. You could stick with the default ordering functionality or you may want to customize it a bit for your store. Maybe you want to remove the option to sort by price, or you want to remove the sorting all together (because you only have 5 products), or you want to add a whole new way to sort. That's all possible with WooCommerce.

Removing Sorting Options

WooCommerce Default Sorting

The default sorting in WooCommerce

Continue Reading…

WooCommerce Always Include Shipping Information on Checkout Page

The other day I received this question from a WooCommerce user:

I have virtual products in my store but I still want to collect the shipping information from my customers so that I can mail them a card at the end of the year. But a cart with virtual products automatically hides the shipping information on the checkout page. How can I force it to show up?

Continue Reading…

Customizing WooCommerce Email Styles

There are 269 free WooCommerce themes on WordPress.org which is amazing. And many of them are absolutely gorgeous. And while many of them are gorgeous there is one aspect that developers leave out. And that is making sure that WooCommerce email styles match the theme. As a store owner you want to have a unified experience. Unfortunately in most cases no matter what colors your theme has your emails tend to look like this:

New Customer Email for WooCommerce

The standard New Customer email for WooCommerce

That won't work well if your theme is like my blog's theme: big header, a vibrant purple, and my face in the header. The emails don't resemble that at all.

Luckily there are two good solutions to this problem. The first is a plugin and the second, for savvy developers, is to use custom code.

Continue Reading…

WordPress eCommerce Fundamentals Course Released

Just over one year ago I released the WooCommerce Cookbook and I heard from lots of store owners about how much they liked it. And after hearing the feedback I decided to create something a bit less technical and more abstract. Something that would help people understand the fundamentals of e-commerce. Several months later I'm proud to say that I published WordPress eCommerce on Lynda.com.

The Course

The course covers everything you need to think about before you build an e-commerce site for yourself or for a client:

  1. Understanding Your Market
  2. Marketing Your Site
  3. Selling Products
  4. Shipping & Orders & Taxes
  5. Securing Your Site
  6. Using WordPress for eCommerce
  7. Testing & Optimization

This is a video course so all of the lessons include me showing example sites and visual aids. It's over an hour long so there's plenty for you to digest before you make your first e-commerce site. Chapters 3 & 4 go into lots of detail about the types of products you can sell and the best way to do it. Ex. How can I sell a monthly subscription box? And which way is best?

Here's a sample video:

 

Why I Created This Course

I created this course is because e-commerce is no longer limited by technology. You aren't spending your time figuring out technical problems. The technology is relatively straight forward and as a store owner or a developer building a store for a client you have to figure out marketing & positioning problems to make sure that your product solves a need and that people can find it.

Only once you know that people really want to buy your product and you can get them to your site do you worry about the technical problems.

For those people who just want to know all about the different WordPress platforms I cover WooCommerce, Easy Digital Downloads, iThemes Exchange, & WP eCommerce.

I also cover third party platforms that can integrate in your WordPress site such as Gumroad, Clickbank, and Shopify.

If you're a store owner this course will make you ask questions about your product market fit and what you need to do to sell as many widgets as possible.

If you're a developer you will learn all of the same lessons which you can pass along to your clients and make them successful. Building a $10,000 site is great but it's even better if you can build the right site for $10,000 and get more work next year after your client's product makes a killing. 🙂

If this sounds good sign up for a free 10 day trial of Lynda.com and get access to this course and many others – or if you're already a member just watch. 🙂

Delay

If you're detail oriented you might notice that this course actually came out last summer! I held off on the announcement of this post because it came out right around the time of the WooThemes acquisition and I was quite busy with all of that. Not a good excuse I know but better late than never right?

Happy selling!

How to Add a Call to Order Button in WooCommerce

WooCommerce is a fully featured e-commerce solution and you can do just about anything with it. But just because you can doesn't mean you should. Many businesses aren't ready for run an e-commerce site. Maybe they can't increase inventory fast enough, they don't have a good fulfillment system setup, or they just aren't ready to take their business online.

When this happens WooCommerce can still be really useful to show off your products to your customers. There are categories, tags, filters, multiple tabs, video tabs360-degree images, and all sorts of other really useful features you can use to help customers browser your catalog. The only thing you have to do is disable that Add to Cart button and replace it with a Call to Order button. There are two good ways of doing this. The first is to use a plugin and the second is to code it yourself. I'll show you how to do both.

Continue Reading…

How to Change the Style of the Add to Cart Button in WooCommerce

One of the questions I get asked all the time is, “how do I change the color of the Add to Cart button in WooCommerce?” And depending on what theme you have it could be as easy as clicking a few buttons in the WordPress customizer or if you're creating a theme from scratch you'll have to write a bit of CSS. I'll show you all of the options below.

Continue Reading…