External add-to-cart link for Woocommerce

Moderator
t-p

(@t-p)

I recommend asking at so its developers and support community can help you with this.

Thread Starter
A.Ch

(@alichakery)

Thank you for your reply. I completely forgot to ask it there. However, I found the answer myself and just in case it can help someone the answer is:

You actually do not need a plugin and it is built in in Woocommerce…

Replace [Product-ID] (including brackets) with your product ID. It can be found in the URL of the product when you are editing it. If you would like the variable products to be added, you just need to use the variable ID.

And replace [Number-of-items] (including brackets) with the number of the items which you would like to be added.

And obviously do not forget to change “yourdomain.com” with the address of your Woocommerce shop.

Regards.

  • This reply was modified 12 hours, 9 minutes ago by A.Ch.
  • This reply was modified 12 hours, 8 minutes ago by A.Ch.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer