Cart, Mini-Cart

WooCommerce Custom Link To Add Products To Cart

Add a WooCommerce product to cart with a link

Pre-Requisites

You’ll need the product ID (or variation ID) ready. Replace “123” in the example with said ID and the appropriate quantity to be added.

How To Implement This Solution?

Simply hyperlink the text, button, image or whatever you like with the solution below.

About This Solution

Do you want to be able to add links in your content to allow customers to add products to cart without them having to navigate to the product page? Maybe you have pricing plans and want to link each to a product and allow adding to cart without the product page being seen. This guide shows you an extremely quick and easy method to do just this.

This product is fantastic. You can buy it <a href="here https://www.example.com/?add-to-cart=123&quantity=1">here</a> or drop us a message for more info.

Snippet Benefits

  • Being able to link products from non-product pages is a great way to drive users through the the sales funnel, particularly with affiliate/external products.
  • Showcase products from blog posts and pages without actually showing the product page.

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 10% off on your first month with us.

26027
WELCOME OFFER