Setting Direct Checkout URL in Google Merchant Center

Hi Guys,

Fairly new with WooCommerce and not a developer but more of someone who get things done so please forgive me for asking dumb questions.

I was able to setup Google Merchant Center and Ads without any issues. Now i am running some campaigns and Google is recommending that I include a URL to cart or checkout page. Now i wanted to know the following:

  1. Do i need to create a page in WordPress for this?
  2. I also went through this post https://projectdmc.org/support/topic/woocommerce-product-direct-checkout-url-so-shoppers-can-go-directly-to-checkout/ and tried adding a url like https://example.com/checkout/?add-to-cart={id} and the result is attached. I am not sure if its correct or not because the url has gla in it and i also see some unwanted entries on the page which shows up after i click test.
  3. I also tried the code mentioned in the above thread through code snippet and the result is the same.

Can someone please guide me on which solution is correct and which approach is correct. Do note that i only have simple products and no variations.

  • This topic was modified 5 hours, 25 minutes ago by vention.

 

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