Posted on

WooCommerce: Disable Customer Order Email for Free Orders

There are times when you sell free products to give customers access to a membership, an online course, or for other reasons. In this cases, you might not want to send them the “Order Completed” email, as the follow-up work is done by your email marketing software or they are automatically redirected to the resource upon checkout.

Of course, you definitely want to keep the “Order Completed” emails for orders that are not $0. Unfortunately, the method suggested by WooCommerce which “unhooks the emails” cannot be used together with a conditional check (in our case we need to verify if the Order total is $0), so a workaround is needed. Here’s the fix. Continue reading WooCommerce: Disable Customer Order Email for Free Orders

Posted on

WooCommerce: Easily Get Order Info (total, items, etc) from $order Object

As WooCommerce a freelancer, every day I repeat many coding operations that make me waste time. One of them is: “How to get ____ if I have the $order variable/object?”.

For example, “How can I get the order total”? Or “How can I get the order items”? Or maybe the order ID, customer ID, billing info, payment method, total refunds and so on… hopefully this article will help you save time as well đŸ™‚ Continue reading WooCommerce: Easily Get Order Info (total, items, etc) from $order Object

Posted on

WooCommerce: Save “Terms & Conditions” User Acceptance @ Checkout

When going legal… you need proof. Accepting the “Terms and Conditions” on the checkout is required in order to placer an order – but how can you, WooCommerce store admin, “prove” that the Terms and Conditions were actually ticked by the customer?

One of the solutions might be to save such acceptance in the database and print the acceptance on the order admin (and maybe on the customer invoice as well). So, here’s a quick PHP snippet you can simply copy and paste in your child theme’s functions.php file in order to (1) save and (2) print the choice on the Single Order Admin page. Enjoy! Continue reading WooCommerce: Save “Terms & Conditions” User Acceptance @ Checkout

Posted on

WooCommerce: How to Bulk Edit Products?

You want your website visitors to checkout fast, pay you faster and receive their item quickly. However, speed matters for us WooCommerce store owners as well.

By looking at this year’s time-sheets for my own business, about 50% of the time was spent between marketing and admin – and the “admin” part is the one we’re tackling today.

If you run a busy WooCommerce shop with hundreds of products, you probably noticed how annoying it is to edit products one by one.

Yes, the WooCommerce admin dashboard allows us to do certain bulk edits a la WordPress, however you must play with the “screen options” and also the filtering is not good enough.

On the other end, as WooCommerce managers we’re probably more familiar with Excel-alike spreadsheets where all our products are editable with a single click in a specific cell.

Good news is there are plugins that can make your life easier, your admin time more efficient and your product management simpler. And today we’re taking a look at the best options. Continue reading WooCommerce: How to Bulk Edit Products?

Posted on

WooCommerce: Change Autofocus Field @ Checkout

If you decide to delete or reorder checkout fields, you probably also need to change the checkout field with “autofocus”. In plain English, this is the checkout field where the keyboard cursor goes automatically to on checkout page load (by default, this is the Billing First Name).

As usual, changing this default behavior is very easy, even if you’re not familiar with PHP. In the example below, I’m removing the autofocus from Billing First Name and assigning it to the Billing Email field instead.

Copy the snippet, test it on your development environment and only then push it to your live website. Enjoy! Continue reading WooCommerce: Change Autofocus Field @ Checkout

Posted on

WooCommerce: How to Run an Affiliate / Referral Program?

There is no doubt – one of the fastest, most affordable and easiest ways to increase your WooCommerce sales is to “hire your own customers”.

You’ve probably heard of affiliate commissions, referral programs, influencer marketing, brand ambassadors and so on. Online brands are doing all they can to promote this strategy and “tap” into their fans’ communities.

As a WooCommerce store owner, no matter whether you sell digital or physical products, you should definitely give an affiliate program a go. Besides, what if I told you enabling such a complex system was actually super easy?

With a simple plugin you can immediately add an affiliate marketing program to your WooCommerce website, give registered affiliates their own dashboard with statistics and revenue, pay them via PayPal or Stripe either manually, immediately or monthly and basically do absolutely no coding or complex set up.

Decide your referral commission (e.g. $10 per product, or 15% per order), install the affiliate plugin, contact all your existing customers, subscribers, fans, followers and see your sales grow.

For such a little investment, your returns might be reasonable enough and there is really nothing stopping you from implementing this today.

In this article, we’ll take a look at the two most reliable WooCommerce Affiliate plugins. They both do the trick, so it’s up to you to make that final choice. Continue reading WooCommerce: How to Run an Affiliate / Referral Program?

Posted on

WooCommerce: Rename “Add to Cart” Button if Product Already @ Cart

When talking about UX, or for very specific WooCommerce shops, you might need to “communicate” to the user a product is already in the Cart before re-adding it or increasing its quantity from the Shop/Category/Loop and Single Product pages.

The “Add to Cart” button label comes with a filter (actually 2 filters, one for the Single Product page and another for the other pages such as Shop), so all we need to do is targeting those two, “filter” the label text in case the product is already in the Cart, and return that back to WooCommerce. If this looks like Japanese to you don’t worry – simply copy/paste the snippet below! Continue reading WooCommerce: Rename “Add to Cart” Button if Product Already @ Cart

Posted on

WooCommerce: Sort Cart Items Alphabetically A>Z

Your WooCommerce shopping cart might look messy when it contains many products. Your specific business, besides, might require you buy “Part 1” first and “Part 2” after.

A way to tidy up the WooCommerce shopping basket is – for example – to sort products based on their title, from A to Z. As usual, this can be done with a few lines of PHP, even if you have no clue about coding… feel free to copy, paste, and enjoy the snippet đŸ™‚ Continue reading WooCommerce: Sort Cart Items Alphabetically A>Z

Posted on

WooCommerce Workshop: DCU 2018 Slides

I had the pleasure to speak at the Dublin City University Business School in April 2018. I was kindly invited by Grace Fox, a lecturer who looks after the Masters in Digital Marketing.

The workshop title was “WooCommerce Workshop. INSTALL. SET UP. PUBLISH. SELL.”, aimed at helping students build an ecommerce enabled website with WordPress and WooCommerce.

During the 4 hours workshop we covered the following topics:

  • 1. Introduction: Things You Should Know Before Installing WC
  • 2. DEMO: How to Install WC
  • 3. DEMO: Walk-Through of the Most Important Settings & Payment Gateways
  • 4. DEMO: How to Publish Your Products & Test Checkout
  • 5. WooCommerce A.M.A. & Intro to Customisation

Here are the slides of the live demonstration I held.

Continue reading WooCommerce Workshop: DCU 2018 Slides

Posted on

WooCommerce: Add Content Under “Place Order” Button @ Checkout

Adding content to the WooCommerce Checkout page is very easy.

All you need is to identify the position where you want to show your content (by using my WooCommerce Checkout Visual Hook Guide) and then create a short PHP function that prints on screen the content you need.

In this example, we will see how to add some content below the “Place Order” button on the WooCommerce Checkout page. This could be very helpful, for example, to print your GDPR-compliant Privacy Policy message and make sure the user is aware about the use of personal data. Continue reading WooCommerce: Add Content Under “Place Order” Button @ Checkout

Posted on

Advanced WooCommerce Tracking: Analytics, Reports, Exports, Segmentation

If your WooCommerce store already generates a few orders per month, then it’s probably the right time to step up and start analyzing your ecommerce data.

Despite the “WooCommerce > Reports” tab within the WordPress dashboard can give you sales figures, stock takes and customer lists – we all know that’s a very basic, limited functionality. It gives you CSV export but no automation. There are no filters and no segments. It’s accurate but still not enough.

Data plays a vital role on your WooCommerce website. If you can get access to a wider range of figures, reports, screens, calculations, exports, filters, integrations, then it’s very likely you can understand how to increase your profits.

Data can help you identify problems (hello, cart abandonment – biggest responsible for low conversion rates), can help you select popular products for your cross-sell and up-sell strategy, can give you a hint on how to improve the user experience and have them check out faster – as well as giving you a hand analyzing patterns, performances and customer behavior.

In this (very long) post, we’ll take a look at ways to gather ecommerce data beyond the default “Reports” section, generate email digests, print advanced reports, filter and segment orders and customers, and much more. I will be referring to the two biggest tracking software for WooCommerce: Google Analytics and Metorik. Continue reading Advanced WooCommerce Tracking: Analytics, Reports, Exports, Segmentation

Posted on

WooCommerce: Hide Related Products @ Single Product Page

Adding content to the WooCommerce Single Product Page is super easy – but what if you wish to remove / hide a default element?

Well, in this case it gets even easier. All you need to know is the default hook used by WooCommerce – so that you can remove it with one line of PHP in your functions.php. You can find a list of default hooks here: (https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/)

For example, how do we hide the Related Products? Well, here’s one line of code that will help you! Continue reading WooCommerce: Hide Related Products @ Single Product Page

Posted on

WooCommerce Wishlist: Top 4 Plugins (Screenshots + Features)

1% is a relatively average ecommerce sales conversion rate. In other words, every 100 website visitors, 99 are not going to purchase anything from your shop – and maybe never will.

Increasing that conversion rate is everyone’s dream. Yet, CRO (Conversion Rate Optimization) is one of the toughest sections of ecommerce marketing. Given the same amount of traffic, how can you convert more sales?

Well, adding a wishlist functionality to WooCommerce is what I consider a vital CRO test. It might or might not work for your specific business (that’s why CRO is tough, no business is born equal), but it’s worth a 12 months trial at least. The good news is that there are great, free, reliable WooCommerce Wishlist plugins available (as well as premium of course), so this is a no-brainer really.

If you never heard of wishlists before, remember those 99 users who had no intention of buying anything on your shop right now? Well, the point I’m trying to make is that they might like to “save” a few products in a wishlist and come back later (even after months) to add those product to cart and complete the checkout.

This is very simple. You’re basically helping users with a functionality not many WooCommerce shops provide. You’re giving those 99 people at least one reason to come back to your store at a later date and – as we will see later – you can even give them magic powers such as sharing their wishlists with friends and using them publicly or privately.

Ok, let’s get started. What are the most reliable “Wishlist” plugins for WooCommerce? Continue reading WooCommerce Wishlist: Top 4 Plugins (Screenshots + Features)

Posted on

How to Sell ANYTHING with WordPress + WooCommerce: WP Dublin 2018 Slides

I had the pleasure to speak at the Dublin WordPress Meetup in March 2018. The presentation title was “How to Sell A-N-Y-T-H-I-N-G with WordPress + WooCommerce”, aimed at both beginners and more advanced designers.

Some of those who are only starting with WordPress didn’t know you can transform ANY WordPress install into an Ecommerce website in a matter of minutes.

Those who are pretty familiar with it, on the other end, they’re maybe entrepreneurs who want to set up a Marketplace, a Membership site, a Classified Ads platform or implement some of those Ecommerce features only Amazon and Ebay seem to be able to code with their million dollar budgets. Continue reading How to Sell ANYTHING with WordPress + WooCommerce: WP Dublin 2018 Slides

Posted on

WooCommerce: How to Show Product Search Suggestions?

AKA “Ajax Search” (displaying search suggestions while a WooCommerce user is typing something in the search bar), is a brilliant idea for all of you ecommerce entrepreneurs.

Saving time to a potential customer is your number one goal. Besides, if your website has a lot of traffic, search should be one of your sales propositions (look at Amazon and eBay to see how prominent the search bar is).

Enabling “Ajax Search” in WooCommerce is actually pretty easy. This time, there is no snippet, but a good combination of free and premium plugins that do the job.

Please note – in this article we will be covering the “Ajax Search” plugins and not the product filtering ones, which are fairly different in regard to the functionality they provide.

So, what are the most reliable “Search Suggestion” plugins for WooCommerce? Continue reading WooCommerce: How to Show Product Search Suggestions?

Posted on

WooCommerce: How to Build a Multi-Vendor Website (Marketplace)?

Building the next Amazon is everyone’s dream.

Allowing sellers to use your online platform to reach wider audiences without holding stock, investing in shipping and warehousing and – let’s be honest – with a few dollars budget… is actually possible in WooCommerce.

The WooCommerce Multi-Vendor/Marketplace scenarios are many – not a surprise. And sometimes, a plugin is all you need to build an Amazon-alike website. Not bad for a small investment – you can focus on the marketing while the WooCommerce plugin does the rest.

However, building a full website, no matter its project specifications, is never easy. Many WooCommerce and ecommerce entrepreneur underestimate how much work, caution, attention, patience and money are needed to complete an online platform. Nothing is free – if something looks doable with a $79 plugin you also need to consider the cost of time, outsourcing, marketing and third parties (such as picking a reliable hosting).

Anyway, today we’ll take a look at the 3 best plugins for turning a WooCommerce website into a multi-vendor marketplace, including a simple PHP snippet that might just be enough for you. Continue reading WooCommerce: How to Build a Multi-Vendor Website (Marketplace)?

Posted on

WooCommerce: How to Create a New Product Type

Ever wondered how you could add a new product type to WooCommerce admin (on top of the default Simple, Variable, Grouped and External)?

Well, while I was coding this for a client I found a lot of literature online – but nothing really worked for the latest WooCommerce release.

So, here’s the working fix! Continue reading WooCommerce: How to Create a New Product Type