WooCommerce: Hide Shipping Rates if Free Shipping Available

If Free Shipping is available, you possibly don’t want to show the other paid shipping options. WooCommerce shows by default all shipping rates that match a given shipping zone, so it’s not possible to achieve this from the settings alone.

You need PHP for that. In this example, we will disable all shipping methods but “Free Shipping” so that free shipping remains the only possible choice. And here’s the code to add to your functions.php 🙂

Continue reading WooCommerce: Hide Shipping Rates if Free Shipping Available

6 WooCommerce Tax & Accounting Tips to Save You Time This Tax Season

If just the thought of tax season gives you a headache, you’re not alone. In fact, 60 percent of small-business owners don’t feel confident about their accounting knowledge (Small Business Report – Accounting).

We understand the feeling – tax season is approaching and you’re frantically trying to add up and categorize all of those shoe boxes full of receipts. Or maybe you’re not even completely sure of your business’ financial position as you haven’t accurately tracked your orders/sales.

Whether you’re behind on your accounting, unsure of what your business income is, or simply want to save yourself the time and headaches that tax season entails, this guide is for you.

We have compiled our top WooCommerce accounting tips to save you time this tax season (and every year there after…)

Ready to dive in?

Continue reading 6 WooCommerce Tax & Accounting Tips to Save You Time This Tax Season

WooCommerce: Move Order Notes @ Checkout

We already saw how to hide Order Notes on the WooCommerce checkout page. This time around, however, our goal is to “move” them – and specifically remove them from their default position (under the shipping form) and add them back under the billing form.

As you can imagine, this is a combo snippet: (1) we remove them (and we’ll use the snippet as per the link above) and (2) we create a new billing field. Finally, (3) we also need to “save” this new field value into the original order notes custom field meta.

If this is difficult to understand don’t worry – just copy/paste the snippet into your functions.php and see magic happen. Enjoy!

Continue reading WooCommerce: Move Order Notes @ Checkout

WooCommerce: Set Checkout Field Value @ Order Creation

This is a very specific function. Sometimes, you need to “set” a checkout field value upon order creation (because it was not required and left empty for example). In some other cases, you might want to override what the customer input if you have certain requirements.

Either way, overriding the checkout fields on order creation is super easy. Here’s how it’s done – enjoy!

Continue reading WooCommerce: Set Checkout Field Value @ Order Creation

WooCommerce: Flat Rate Calculation Based on Weight (Without a Plugin!)

We already talked about weight based shipping and in this post we found out how to charge different flat rates based on shipping weight thresholds.

But now I want to show you how you can use the default “Flat Rate” to calculate shipping costs based on cart weight, thanks to a multiplier. For example, your shipping rate might be “$5 for each Kg” – as you know the default “Flat Rate” only allows you to define one rate e.g. $10.

So, what if you want to calculate shipping charges by weight? Well, here’s a simple workaround for you. Continue reading WooCommerce: Flat Rate Calculation Based on Weight (Without a Plugin!)

WooCommerce: 10 Easy Snippets to Increase Your Sales

I had the pleasure to speak at WordCamp Prague 2019. I spoke about “10 PHP Snippets to Increase WooCommerce Sales” and managed to show some simple coding to the audience. Trust me – increasing your WooCommerce sales can also be done with a free, short, easy PHP snippet.

So, given that I want to share all the snippets I talked about, this is a quick recap. Copy them, test them (a must!) and then use them. And let me know if your conversion rate and/or AOV (average order value) increased!

At the bottom of the page you also find my talk slides. Enjoy:) Continue reading WooCommerce: 10 Easy Snippets to Increase Your Sales

How to Blacklist WooCommerce Scammers, Emails, IP, Phones?

A WooCommerce email notifications pops up – yet another new order, money, revenue, happiness. However, hold on a second – money is not technically in your bank account until you’re forced to give a refund. Even worse, until you realize not only you had to give a refund, but also getting the item back costs you a fortune. And who knows how many times this is going to happen, mostly when you ship physical products.

Fortunately, there are ways in WooCommerce to blacklist customers, deny purchasing from specific countries, block certain IP addresses and do whatever you can to save money.

In the era of Amazon and online shopping we constantly hear of scams and frauds, so this is definitely a topic that shouldn’t be underestimated. A small plugin investment or a few lines of code could actually make a big difference.

Besides, choosing the correct online payment methods (which should give you some sort of anti-fraud out of the box) and avoiding offline payments (bank transfer, cash on delivery, check) are important measures you should already have in place.

So, moving beyond the actual online payments, there is something else we could do to stop scammers placing an order (yes, even before paying or trying to pay). Prevention is better (and more affordable) than cure, right?

I’ve put together a list of WooCommerce plugins and settings you should look into from today on. And sooner rather than later. Enjoy 🙂 Continue reading How to Blacklist WooCommerce Scammers, Emails, IP, Phones?

WooCommerce: How to Increase Average Order Value?

AOV a.k.a. Average Order Value is one of the most important ecommerce metrics. It describes the average order total in a given period of time. If this year your WooCommerce website converted 150 orders and made $30,000 in revenue, your AOV for this year is $30,000/150 = $200 (i.e. on average, you can expect each order to be $200).

FYI, the meaning of AOV is the same for any ecommerce platform, but in this article we’ll talk just about WooCommerce. In our opinion WooCommerce is a better, more cost-effective solution than Shopify or other counterparts.

If you don’t know what your WooCommerce store AOV is, immediately go to WordPress Dashboard > WooCommerce > Reports > Orders > Sales by Date > Year and divide “net sales in this period” by the number of “orders placed”. But be careful – those reports are sometimes not correct (I know WooCommerce is working on this at the moment). Mine is giving me AOV = €2… and I know that’s not right.

Your best bet is your Google Analytics account (as long as you’re using the official WooCommerce – Google Analytics integration) and/or your Metorik reports (here’s an article you should read if you need to know how to install reliable WooCommerce tracking, reporting, filtering and segmentinghttps://businessbloomer.com/advanced-woocommerce-tracking-analytics-reports-exports-segmentation/). My Metorik dashboard tells me my WooCommerce website AOV for this year is €233 so far – I can trust this one for sure.

So the question is: how can we get our WooCommerce customers to spend more? Well, here’s a list of WooCommerce plugin alternatives you can install right now to boost your AOV.

In fairness, who wouldn’t want some extra revenue? 🙂

Continue reading WooCommerce: How to Increase Average Order Value?

WooCommerce: 5 Ways To Increase B2B Conversions

This is a guest post by Matthew Abdalah of Rumbleship – if you like the article, make sure to thank him in the comments!

Customers live in a world of digital distractions and the last place you want your customers to be distracted is during checkout.

Consumer ecommerce (B2C, business-to-consumer) has taught the B2B (business-to-business) world a lot about what a distraction-free, conversion-friendly checkout looks like: we should reference these lessons for best practices.

Due to its ubiquity, your wholesale buyers are conditioned to expect a comparable level of service to what they experience on B2C websites such as Amazon and eBay.

Tactics like 30-day terms, free shipping and bulk discounts are some of the techniques referenced in this article but we’ve compiled a few extra ones.

Here are 5 creative ways to reduce wholesale WooCommerce shopping cart abandonment, increase your sales conversion rate and grow your profits. Continue reading WooCommerce: 5 Ways To Increase B2B Conversions

WooCommerce: Put Cart & Checkout on the Same Page

This is your ultimate guide – complete with shortcodes, snippets and workarounds – to completely skip the Cart page and have both cart table and checkout form on the same page.

But first… why’d you want to do this? Well, if you sell high ticket products (i.e. on average, you sell approximately one product per order), if you want to save an additional step (two steps convert better than three: “Add to Cart” > “Cart Page” > “Checkout Page” – and this is not rocket science), if your custom workflow and ecommerce objectives require you to manage Cart and Checkout all together, well, this tutorial is for you.

There is a mix of shortcodes, settings and PHP snippets you can use to make this work out of the box. And trust me, this is easier than you think.

While many developers decide to turn the checkout process into a “Multi-Step Checkout” (ehm, not sure why – the more steps the more likely it is to have a cart abandonment), in here we’ll see the exact opposite.

So, how do they do it?

Well, here’s the complete, easy, step by step guide to put Cart & Checkout on the same page. Give it a go, do some WooCommerce testing and tracking, and see if it converts better 🙂 Continue reading WooCommerce: Put Cart & Checkout on the Same Page

How to Keep Your WooCommerce Customers Loyal?

This is a guest post by Michael Lazar of ReadyCloud – if you like the article, make sure to thank him in the comments!

Customers are the backbone of any ecommerce store, but loyal customers are the shining stars. They cost less to retain, and they are easier to sell to – not to mention that they’ll do some of your marketing for you via social media.

The biggest names in ecommerce right now are thriving because of their loyal customers. Amazon Prime, for example, has over 100 million subscribers, and Zappos does 75% of their business with repeat customers.

Have you ever wondered how these internet giants have captured and retained customers?

Surprisingly, their tactics are not as expensive and time-consuming as you might think. Even as a small WooCommerce e-tailer, you can provide a shopping experience that will keep your customers coming back.

And here are five ways to make it happen. Continue reading How to Keep Your WooCommerce Customers Loyal?

WooCommerce: How to Display Custom Product Badges (e.g. %OFF, NEW, FREE)?

You would know by now ecommerce customers buy products for different reasons. Your store products might be cheaper than your competitors, maybe you offer better shipping rates, possibly you restock products more quickly than anyone else – or simply you’ve got a great product people keep buying.

One way to display your product features and benefits on the Shop page is by using “product badges”, a series of display messages that are able to communicate with the user immediately.

You’re probably already familiar with the “SALE!” badge that WooCommerce gives us by default. What if you wanted to show the exact percentage amount of that offer?

You’re also aware of the “Featured” option for WooCommerce products. Yes, they show in the “Featured” product shortcode, but what if you wanted the shop to display these special products in a different way, i.e. by using a special badge?

Well, there are millions of examples on how you could improve your products page (and single product page) by making the most of product badges. Thankfully there are snippets and plugins that can help you with that.

A little investment might mean better click-through rates and therefore higher conversion rates!

Continue reading WooCommerce: How to Display Custom Product Badges (e.g. %OFF, NEW, FREE)?

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

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

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)?

WooCommerce: Display Order Delivery Date @ Checkout

Here’s how you can add a “calendar” field on the WooCommerce checkout page, let people decide the delivery date, and save this value in the order.

It took me ages to implement this for a client (it was much more complex, with available dates, different calendars based on different shipping zones, max weight per day, etc) so I thought of sharing the basic snippet with you! Enjoy 🙂

Continue reading WooCommerce: Display Order Delivery Date @ Checkout

WooCommerce: “Is This a Gift?” Checkbox @ Single Product Page

A client of mine asked me to code a checkbox on the single product page called “Is this a gift?”. They noticed that their customers who want to gift the product to a friend get confused with the “Shipping to a different address” form in the WooCommerce checkout.

So, what about renaming “Shipping to a different address” into “Who is this gift for?” if a “gift” is in the cart? Well, this snippet does just that and you can adapt it / customize it to your specific case. Continue reading WooCommerce: “Is This a Gift?” Checkbox @ Single Product Page

How To Become an Advanced WooCommerce Developer?

Well, get ready for a 2,700+ words article: becoming a WooCommerce expert won’t take you just a couple of days.

A few months won’t be enough either.

If you want to join that very small group of advanced freelancers and agencies that exclusively work with WooCommerce clients and charge top dollar, if you want to become a WooCommerce authority and build a successful career, if you want clients to come to you as opposed to you chasing them, well – you need to digest and assimilate what I’m about to tell you.

In this (long) article I will help you understand what is advanced WooCommerce, and then break this down into 5 simple steps.

Five makes-a-lot-of-sense steps you should follow in order to complete your journey.

So, want to become a WooCommerce ninja? A WooCommerce wrangler? A WooCommerce guru?

Well, despite I dislike all those ninja-like “terms”, let me tell you a thing or two. Then, join me in the comments and let’s keep the conversation going. Continue reading How To Become an Advanced WooCommerce Developer?

WooCommerce: How to Test Geolocation?

Great question, isn’t it?

How do you make sure your shipping, taxes and currency settings are working properly when they depend on geolocation and you can only test from a single world location?

WooCommerce uses a free geolocation service called MaxMind. By default this is active via the settings but can be disabled. The set of functions (or class) that WooCommerce uses is in the /includes folder, and it’s called Class WC_Geolocation.

Continue reading WooCommerce: How to Test Geolocation?