Google Shopping checkout links using Mergado and OpenCart integration

Hello team,

I’m using OpenCart and I’ve already purchased an extension called Add Product to Cart by External Link, which allows me to create direct links that add a product to the cart and redirect users to the checkout page.

Now I’m looking to integrate such direct checkout links into my Google Shopping feed.

I noticed that you offer an integration extension for OpenCart. Could you please tell me if your extension supports generating or managing such direct checkout links in the product feed (e.g. by using the checkout_link_template attribute for Google Merchant Center)?

Would I be able to create links like this using your OpenCart module:
/index.php?route=product/product/add&prod_id=123&quantity=1
…or even link directly to the checkout after adding the product?

Thanks in advance for your help!

Best regards

Hello Michal @michalblonski ,

I don’t think that the module can generate this checkout link. It generates a standard product URL for each product. But hypothetically you could generate them later in the Mergado Editor.

The way our module works is that it generates only one feed type: Mergado XML. You cannot use this feed directly for Google Shopping, but you need to import it into Mergado Editor (a paid online XML feed editor) that allows you to convert any feed into different formats, including Google Shopping.

So, once you create this Google Shopping feed, you can try generating the checkout URL from the product URL this way:

%g:link%/index.php?route=product/product/add&prod_id=%g:id%&quantity=1

Notice that there are 2 variables, g:link and g:id, which will be replaced by the product URL and id for each product.

But I am only speculating since I haven’t seen your product feed. I can help you set it up and test if this will work. The Mergado Editor has a 30-day free trial, so you don’t pay anything until you test if this works.

Also, please note that our free Opencart module is not developed anymore so we don’t guarantee it will work for you.

Hello Radim,

Thank you very much for the detailed explanation!

I’ll give it a try using the 30-day trial to test if the checkout URLs can be generated as expected. Your example using %g:link%/index.php?route=product/product/add&prod_id=%g:id%&quantity=1 is helpful — I’ll experiment with that logic.

Also, thanks for the heads-up about the OpenCart module status. I’ll proceed knowing that it’s no longer actively maintained.

If I run into any issues while testing in the Mergado Editor, I’ll be happy to reach out again.

Best regards

1 Like