Tag Archive for: Customer Journey

If you’re using WordPress and WooCommerce to power your online store, customising “Add to Cart” functionality can greatly enhance the user experience and streamline the checkout flow. As a marketing consultant who specialises in WordPress website and WooCommerce stores, I have found myself ‘googling’ the term “Custom Add to Cart URLs” more times than I can count. It’s a fantastic feature that I frequently use in my own businesses, as well as on my clients’ websites.

That’s why I wanted to share it on the Done Digital blog and provide you with a simple but comprehensive guide to custom add to cart links. I’ll walk you through the exact process of creating your custom WooCommerce links and buttons that you can customise to suit your specific needs and use case cases. Whether you’re dealing with simple products, variable products, or grouped products, these custom links allow you to effortlessly add products to the cart, redirect customers to specific pages, and even set custom quantities—all using simple URLs.

While there are many use cases for custom URLs inn various contexts, in this article, I’ll just focus on custom add-to-cart URLs for your WooCommerce store. So, let’s dive right in!

Where to Find Product IDs in WooCommerce

In order to create your custom URLs, you’ll need the unique product IDs of the products you want to include in the link. Here’s where to easily locate your product IDs in WooCommerce.

How to locate product IDs in WooCommerce to create custom add to cart URLs for your online store - Done Digital

Adding Simple Products to Cart with Custom WooCommerce Links

With simple products, adding them to the cart via a custom URL is a breeze. Here’s how to generate the URLs and specify quantities. Whether you want to redirect customers to the cart, checkout, or any other page, you’ll have full control over the customer journey.

Let’s look at some practical examples:

Custom URL to Add a Simple Product to Cart

This is great if you want to place a simple add-to-cart button or link anywhere on your website:

https://yourwebsite.com/?add-to-cart=25&quantity=1

URL to Add 2 of the Same Simple Products to Cart

You can change the quantity add the end of your URL to control how many items of that same product are added to the cart:

https://yourwebsite.com/?add-to-cart=25&quantity=2

Add a Simple Product to Cart and Send the User Directly to The Cart Page

In some instances, you might want to send the user to the cart page after the product is added. Here’s how to do just that:

https://yourwebsite.com/cart/?add-to-cart=25&quantity=1

Send the User Directly to Checkout After Adding a Simple Product to Cart

This is probably the custom URL I personally use the most. This is great if you want to make sales from a landing page or any other page for that matter. By having users land straight on the checkout page after clicking the “Buy Now” button, you eliminate all friction and increase your conversion rates. Here’s how to build your custom URL:

https://yourwebsite.com/checkout/?add-to-cart=25&quantity=1

Redirect to Any Page After Adding a Simple Product to The Cart

You can further customise the above example and send users to any specific page after adding a product to their cart. This could be to up-sell items, have them register an account or to collect other important information before sending them to checkout.

https://yourwebsite.com/any-page/?add-to-cart=25&quantity=1

The above examples of custom WooCommerce URLs allow for incredible flexibility when it comes to designing your online buying journey and I have personally used them on many of my clients’ websites.

How to Add Variable Products to Cart Using Custom WooCommerce URLs

Variable products may have different variations, but they function in the same way simple products do. What’s important is that you use the correct product ID. In the case of variable products, we will be using the ID of the product variation, rather than the product itself. This allows you to craft custom URLs that add the desired product variation to the cart without having to navigate to the product page.

Just like in the examples above, you can still set quantities and redirect customers to different pages based on your desired outcome and customer journey.

Once again, we’ll use some practical examples that will make it easier to adapt these custom links to your website:

Add One Variable Product to Cart

https://yourwebsite.com/?add-to-cart=88&quantity=1

Add 2 or More of The Same Variable Product to Cart

https://yourwebsite.com/?add-to-cart=88&quantity=2

Change the quantity at the end of the URL to suit your needs.

Add One Variable Product to Cart & Redirect to Cart Page

https://yourwebsite.com/cart/?add-to-cart=88&quantity=1

Add One Variable Product to Cart & Redirect to Checkout Page

https://yourwebsite.com/checkout/?add-to-cart=88&quantity=1

Add One Variable Product to Cart & Redirect to Any Page

https://yourwebsite.com/any-page/?add-to-cart=88&quantity=1

 

If you are using variable products on your websites, these custom URLs can come in handy in streamlining your checkout process and enhancing the user experience. Depending on the WordPress theme you use, the generic product pages can be lacking quite a bit. These custom WooCommerce product links allow you to design your sales page exactly the way you want and send buyers directly to the checkout page.

Adding Grouped Products to Cart Using Custom Add-To-Cart URLs in WooCommerce

Next, let’s look at how to add grouped products to the cart, along with specific quantities for each sub-product. This feature allows you to create custom bundles and offer flexible purchasing options to your customers.

Add a Grouped Product to Cart

To create a custom URL for adding a grouped product to the cart in WooCommerce, you will need to retrieve the Grouped Product ID and the corresponding sub-product IDs. Let’s take an example:

https://yourwebsite.com/?add-to-cart=9876&quantity[5432]=3&quantity[6543]=2

In this scenario, the Grouped Product ID is 9876, and we are adding 3 units of the product with ID 5432 and 2 units of the product with ID 6543.

It’s important to remember that if you wish to add “zero” as the quantity for any of the sub-products, you still need to specify it explicitly. For instance, to add zero units of the product with ID 6543, you would simply use &quantity[6543]=0 in the URL.

Just ensure to replace “yourwebsite.com” with your actual domain name and adjust the product and quantity values based on your specific products and requirements.

And there you have it! By harnessing the power of custom WooCommerce Add to Cart URLs, you can significantly enhance the shopping experience on your WordPress website. Whether you’re a small local business selling a few items online or a large e-commerce store, custom checkout URLs empower you to create seamless customer journeys, increase conversions, and provide a user-friendly buying process that keeps your customers coming back.

What’s your experience with WordPress and WooCommerce? Have you used custom URLs on your website to enhance the checkout flow? Let me know in the comments below!

Recently, I had a conversation with the owner of an eyelash extensions salon in Sydney who asked me for the best ways to market her business. But when I mentioned email marketing as a strategy, she looked at me stunned. “Aren’t emails dead?”, she asked.

The answer is, far from it! To this day, email marketing remains one of the most effective (and profitable) ways to reach your target audience. In fact, it’s never been more important for small business owners to focus on building their email marketing list than in 2024. Here are 5 reasons why.

1. You Own The Data And Stay in Control

Many business owners are under the impression that a Facebook or Instagram page is enough nowadays as a marketing strategy. And while I agree that they provide a fantastic opportunity to grow your audience, no business should solely rely on social media.

Facebook has already made drastic changes to the way your content is distributed. Have you noticed that your reach has decreased significantly over the last few years? Even if your page has thousands of foCustomerllowers, that doesn’t mean you can reach them. Only about 5-10% will actually see your posts.

The reason is that Facebook and Instagram are in the business of advertising. So, if you operate a business page, of course they want you to pay for your content to reach more people. That means it’s really out of your control.

As a business owner, you always want to minimise risks and putting too much power in the hand of social media companies is a risky move. Your email list, however, is completely owned by you, not Meta.

2. Email Marketing Delivers Personalised Experiences

One of the biggest benefits of email marketing is that it allows you to create personalised customer journeys. When you send an email to your list, you’re not just reaching out to everyone on that list – you’re targeting each contact personally. This means that you can connect with your customers on a more personal level, creating a stronger connection and building trust.

Think about it this way: If a business sends you an email and all they say is, “Hey, thanks for subscribing!” – chances are that you find it rather impersonal. But if they send you an email that’s personalised and tailored specifically to your interests, then you’re much more likely to read and respond.

Especially in small businesses, this can have a huge effect on how their business is perceived. Making use of email automation is very much like cloning yourself multiple times. You can send all your leads and customers the right message at the right time. And in marketing, timing is everything.

3. Email Marketing Allows You to Build Long-Term Relationships with Customers

Another great benefit of email marketing is that it can be used to establish long-term relationships with your customers. This builds trust and keeps your customers coming back – which is essential for small businesses on a budget.

Email is the ideal medium to onboard new customers using a series of short messages to introduce them to your services, your team and all the other benefits your business provides. It’s also a great way to introduce existing customers to products and services they haven’t tried before. This will also increase your chances of building repeat business, improving retention – like we did for this Brisbane Dance Studio – and increasing your overall sales.

4. Email Marketing Can Be Used To Drive Traffic To Your Website (Or Wherever You Want It)

One of the best ways to drive traffic to your website is through email marketing. Having people join your mailing list, means you can reach out to them again and again at virtually no cost. This means that you can send them new content and updates regularly, driving traffic back to your website, to specific offers, to your other social media channels and more.

Moreover, it allows you to invite customers to leave a review for your business on Google and Facebook, which is a fantastic way to enhance your reputation online and improve your Google rankings.

With all these benefits, email marketing should no longer be an option, but an absolute must-have for any small business owner who is serious about growing their business.

5. Your Email Marketing Strategy Can Be Fully Automated

To me, the real benefit of implementing an email marketing strategy is that it can be completely automated using tools like Clixio, ActiveCampaign or Mailchimp. That means it’s not another thing you, as the business owner, have to manage or worry about. It’s something you can set and forget.

Marketing automation is often overlooked and undervalued.

As a marketing consultant, I help business owners all over Australia implement effective, fully automated marketing strategies that free up their time, budget and headspace.

If you would like to have a chat about your business and how we can use email marketing and other automation tools to help you scale, click here to book a free strategy call with me today.