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 WooCommerce: How to Keep Your Customers Loyal?
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)?
As a WooCommerce development 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 dates, customer ID, billing info, payment method, order status, and so on… hopefully this article will help you save time as well!
As we’ve seen in other articles, get product info from $product object and get cart info from $cart object, not always you can have direct access to the $order variable.
Sometimes, you may have the $order_id available for example. In that scenario, you can “get” the order object with the wc_get_order WooCommerce function.
It’s also possible to gain $order information if you are in an email template. This can be helpful to show additional $order information in your transactional communications or trigger custom functions. Either way, enjoy!
Continue reading WooCommerce: Get Order Info (total, items, etc) From $order Object
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 WooCommerce Advanced Tracking: Analytics, Reports, Exports, Segmentation
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 Etsy-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 entrepreneurs underestimate how much work, caution, attention, patience and money are needed to develop an online marketplace.
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 some of the best plugins for turning a WooCommerce website into a multi-vendor marketplace, as well as a simple PHP snippet that might just be enough for you. Enjoy!
Continue reading WooCommerce: Multi-Vendor / Marketplace Solutions
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
Storefront is one of the most flexible and extensible theme when it comes to launching a WooCommerce store using WordPress.
Due to its clean code architecture it became hugely popular among users and currently more than 100,000 online stores uses Storefront as their WordPress theme.
Continue reading Storefront Theme: How to Install and Configure It
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
Talking about UX optimization, the WooCommerce checkout is where you should focus most of your time. Shopping cart abandonment is a huge issue – think about hidden charges, lack of payment methods, checkout bugs and, also, too many checkout fields to fill out manually.
Today, we will see how to turn a checkout text field into a select dropdown. Why not let customers pick from a list instead of typing in? Enjoy!
Continue reading WooCommerce: Turn Checkout Field Into a Drop-down
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 WooCommerce: How To Become an Advanced Developer?
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?
Many WooCommerce websites don’t need the “Downloads” tab in the My Account page. Or maybe the “Addresses” tab needs to be renamed into something more user-friendly 🙂
Well, here are 2 super simple snippets to hide or rename any tabs you have in the My Account page, including custom tabs that are added by plugins such as Account Funds, Subscriptions, and so on.
Simply note down the URL of the tab e.g. “edit-account” (see image) and edit the snippets accordingly. Enjoy!
Continue reading WooCommerce: Hide or Rename a My Account Tab
We already studied how to detect if a product ID is in the cart – but if you take a look at the comments many of you were asking how to detect product categories.
So, today we’ll do exactly that. You can disable shipping rates, payment gateways, you can print messages, you can apply coupon programmatically… there are lots of things you can do “conditionally”, based on whether a given product category is in the Cart or not.
Continue reading WooCommerce: Check if Product Category is in the Cart
You may need to add some “personalization” to your WooCommerce website homepage. For example, you could print a custom greeting based on the user’s IP address.
For that, you can use PHP and WooCommerce inbuilt MaxMind Geolocation integration (when enabled from the General Settings Tab, of course).
Detecting the current user country could be very useful for other tasks, such as disabling payment gateways and shipping methods, printing country-specific content and so on. Enjoy!
Continue reading WooCommerce: Detecting Current User Country (Geolocation)
I’ve been wanting to publish this guide for a long while. As a WooCommerce development freelancer, every day I repeat many operations that make me waste time… and one of them is indeed “How to get ____ if I have the $product variable/object?“.
For example, “How can I get the product SKU“? Or “How can I get the product short description“? Or maybe the product stock level, shipping class, tax class, price, regular price, sale price, and so on… hopefully this article will save you time.
Of course, not always you have access to the $product global – but you may know the $product_id. In this case, you can use the wc_get_product WooCommerce function to calculate the $product object – you find this case scenario below.
Other examples might be the order or the cart page. Once again, in here you don’t really have a $product available, so you have to loop through the order/cart items and “get” it. After that, you can then calculate and get any piece of information you require out of $product. Enjoy!
Continue reading WooCommerce: Get Product Info (ID, SKU, $) From $product Object
Checkout page plays a huge role in your eCommerce success. It is one of the most important part of your conversion funnel. This is the page that brings revenue.
It doesn’t matter how many people are visiting your website if no one makes any purchase. Complicated checkout process is one of the main reason of high shopping cart abandonment.
You should always look for ways to make your checkout process as simple as possible. If you are using WooCommerce as your eCommerce solution you can easily change the checkout page design, remove or change the existing checkout fields order.
Continue reading WooCommerce Checkout Fields Customization Guide
Another interesting snippet that could come very handy. How do we show the product dimensions (height, width, length) in the shop / category / tag / loop pages? This could be a handy trick for shops that calculate shipping rates based on volume, or when the volume is a vital piece of data customers need to know before proceeding further. Either way, enjoy!
Continue reading WooCommerce: Display Height, Length, Width @ Shop Page
Here’s yet another useful PHP snippet – and a mini-plugin alternative with super simple settings – that adds the Billing First Name and Billing Last Name to the Registration Form on the WooCommerce My Account page.
By default, the WooCommerce customer Registration Form only displays the email, username, and password fields (unless username and password are set to “automatically generate“, in which case only the email input field will be visible); by adding more billing and/or shipping fields to the form we can of course capture more information about each customer, so that you can do your background checks or allow them to save time at their next purchase.
Either way, enjoy!
Continue reading WooCommerce: Add First & Last Name to My Account Register Form
I’m curious to know how many had the same problem. At WooCommerce checkout, some user fields such as billing_name, shipping_address_1, etc. are automatically saved into the “WordPress User Profile” upon processing.
But what if we also wanted to display and save another existing user field, such as “user_twitter”, or “user_url”, which you can find in the WP User Profile by default? Well, this is very easy: first, we add a custom checkout field; then, we make sure that when the checkout is processed we save that field correctly! Continue reading WooCommerce: Display & Save WP User Field (e.g. user_url) @ Checkout
WooCommerce Shipping Zones are quite easy to override / customize. With a simple PHP (and jQuery, sometimes) snippet we can accomplish many advanced shipping rules, such as the one we’ll study today.
This time, I’ve tested a snippet to add a dropdown to the billing section where users go choose the pickup destination. As a result, the shipping address is automatically populated, and so is the shipping method. What do you think?
Continue reading WooCommerce: Ship to Predefined “Local Pickup” Addresses