No results found

Try a different search query

Popular searches:

Add to Cart

Cart

You have no purchases yet

Browse Marketplace
Original Subtotal:
Product discounts:
Quantity Discount:
Total:
View Cart
Product feeds and Merchant Center

Google Merchant Center OpenCart: Step-by-Step Setup

How to connect an OpenCart 3.0 or 4.1 store to Google Merchant Center: account, site verification, product feed, shipping, returns and checks before review.

11 min read

To connect Google Merchant CenterA Google service where the product feed for Shopping ads is uploaded. It requires correct prices, availability, and identifiers. More in the glossary → to OpenCart, you need three things: a verified site with transparent sales terms, a product feedAn XML/CSV file with product data for marketplaces. Look for it in "Extensions → Extensions," type "Feeds." More in the glossary → at an address that Google downloads regularly, and correctly configured shipping and returns in Merchant Center itself. OpenCart 3.0 and 4.1 do not include a feed in their standard distribution that meets Google's current requirements, so the feed is generated by a module or a custom script. Below is the order of steps that helps a store avoid getting stuck in review.

Examples are for OpenCart 4.1; in 4.0.x, model triggers and event handling differ.

What should you prepare on the site before registering in Merchant Center?

Google checks not only the feed but also the store itself. If the site lacks contact details or return terms, the account may be suspended for "misrepresentation." This is the most unpleasant error, because appeals take days. That is why the site should be in order before you submit the first feed.

  • Contacts. Phone, email, and a physical address or returns address should appear on a separate page and in the footer. In OpenCart, they are taken from System → Settings, on the Store tab.
  • Payment and delivery. A separate information page with payment methods, delivery services (Nova PoshtaThe most popular carrier in Ukraine. The integration usually pulls cities and branches through an API. More in the glossary →, Ukrposhta), timeframes, and costs.
  • Returns and exchanges. Describe the timeframes, the procedure, and who pays for return shipping. The general rule of Ukrainian consumer protection law gives the buyer 14 days to return goods of proper quality, with exceptions for certain categories. Check the current version of the law yourself or with a lawyer.
  • Privacy policy and terms of use.
  • HTTPS across the whole site and a working cart without errors. A Google reviewer may run a test checkout.

For more on basic settings before launch, see the article on setting up OpenCart after installation.

Вкладка «Магазин»: назва, адреса, email і телефон, які бачить покупець і Google
Store tab: name, address, email, and phone that the buyer and Google see · OpenCart 4.1.0.4

Also review your product pages. The price, availability, and name on the page must match the feed down to the cent. Google compares feed data with the page and its microdata, and any discrepancy leads to product rejection. What should appear on a product pageThe page for a single product: photos, price, options, description, reviews. More in the glossary → is described in the article on a product page that sells.

How do you create an account and verify the site?

  1. Sign in to Merchant Center with a Google account that is accessible to more than just the contractor. It is better to use the owner's corporate email.
  2. Fill in business information: store name (as on the site), country, address, and phone. You will probably need to confirm the phone number with a code.
  3. Add the site address and choose a verification and claiming method (verify and claim).
  4. Link a Google Ads account if you plan to run paid ads, and Google AnalyticsA system for analyzing visitor behavior. It is connected with code or in "Extensions → Extensions," type "Analytics." More in the glossary → for analytics.

For OpenCart, there are four ways to verify the site. Their comparison:

MethodHow to do it in OpenCartRisk
HTML fileUpload the file from Google to the root of the site next to index.phpThe file may be deleted during migration or hosting cleanup
Meta tagInsert the tag into header.twig of your themeDisappears after a theme update; in 3.0 you need to refresh the template cache
Google AnalyticsWorks if GA4 is already connected and you are an administrator of the propertyNo risk, if the tag is on all pages
Google Tag ManagerThe same, via a GTM containerRequires rights to the container

The most reliable option for most stores is through GA4 or GTM, because these tags must be on the site anyway. For how to install them correctly, see the article on GA4 and e-commerce in OpenCart. A meta tag in the template also works, but editing the theme file will be lost after the theme is updated. It is better to add the tag through a module or a child theme.

Where do you get a product feed for OpenCart?

A feed is an XML file (or spreadsheet) listing products and their attributes, which Google downloads on a schedule. The article what a product feed is and why a store needs it explains the general logic. Here, the important thing is choosing the feed source.

In the OpenCart admin, there is the Extensions → Extensions section with the type "Feeds." This is where feed modules are installed and enabled.

Розширення → Фіди: тут з'являється встановлений модуль фіду і його кнопка налаштувань
Extensions → Feeds: the installed feed module and its settings button appear here · OpenCart 4.1.0.4

There are three realistic options:

  • A ready-made Google feed module. The fastest route: the module generates XML at an address such as https://ваш-сайт/index.php?route=... and pulls prices, promotions, availability, and brand. For 3.0, for example, there is Product Feeds, which immediately provides feeds for Google and Meta. A simpler option for Google only is Google Feed Merchants Lite. Before buying, check compatibility with your version, 3.0 or 4.1.
  • A universal XML exporter. Suitable if you need marketplaces and price aggregators alongside Google, configured from one place. An overview of this approach is in the blog: UniXML for OpenCart.
  • A custom feed-type module. Makes sense for large catalogs or non-standard pricing logic. Developers will need the article on OpenCart module types, including feed.

For a catalog of several thousand products, generating the feed "on the fly" with each request is a bad idea: Google may hit a timeout. It is better to build the file on a schedule via cron and serve the ready XML.

Which OpenCart product fields are needed for the feed?

The module only translates OpenCart data into Google's language. If product data is empty, the feed will be empty or contain errors. The minimum field mapping is as follows:

Google attributeSource in OpenCartWhat to watch for
idproduct_id or SKUDo not change it after launch, or you will lose the product's history
title, descriptionProduct name and description in the required languageNo HTML clutter, no all-caps, no "SALE!!!"
linkProduct SEO URLThe same address as in the canonical link
image_linkMain imageNo watermarks or text over the photo
price, sale_pricePrice and promotion (special)In hryvnias, as a guest without logging in sees it
availabilityQuantity and stock status"On order" must not be shown as "in stock"
brandManufacturer on the Links tabLeave the field empty for products without a brand
gtin, mpnIn 3.0 — EAN and MPN fields on the Data tab; in 4.1 — product identifiers, whose types are set in Catalog → IdentifiersA real barcode, not an invented one
Вкладка «Дані» товару: модель, SKU, EAN і MPN, які модуль передає у фід
Product Data tab: model, SKU, EAN, and MPN that the module passes to the feed · OpenCart 4.1.0.4

Use the price that an unauthorized buyer sees. If you have customer groups with different prices, the feed should carry the default group's price. A promotion with an end date must disappear from the feed at the same time it disappears from the site. Otherwise, you will get a price mismatch error.

Before the first export, it is useful to quickly find gaps in the catalog. Here is a query for phpMyAdmin for OpenCart 3.0 (replace the prefix oc_ with yours). In OpenCart 4.1, product identifiers (GTIN/EAN, MPN) are managed in the Catalog → Identifiers section, so before running, check the structure of the table oc_product. If the column ean is not there, remove it from the query.

SELECT p.product_id, p.model, p.ean, p.manufacturer_id, p.image
FROM oc_product p
WHERE p.status = 1
  AND (p.image = '' OR p.image IS NULL
       OR p.manufacturer_id = 0
       OR p.ean = '');

An empty EAN is not always a problem: handmade or self-produced items have no barcode, and in that case the module should pass identifier_exists with the value "no." But a missing photo guarantees a rejected product. Names, categories, and attributes will be covered in detail in a separate article on feed optimization.

How do you add the feed and set up shipping in Merchant Center?

Adding the feed

  1. In Merchant Center, open the product data sources section and add a new source.
  2. Choose the option with file download by URL (scheduled fetch) and paste the feed URL from the module settings.
  3. Specify the sales country (Ukraine) and the content language. The feed language must match the language of the pages: if the feed is in Ukrainian, the links lead to the Ukrainian version of the site.
  4. Set the fetch frequency: daily, or more often for stores with rapidly changing stock, if your plan and interface allow it.
  5. If the feed is password-protected or your firewall blocks bots, add exceptions for Google. Otherwise, the download will fail with an access error.

An example of one product in the RSS format that Google expects will help you check the module's output:

<item>
  <g:id>1042</g:id>
  <g:title>Чайник електричний Philips HD9350, 1.7 л, сталь</g:title>
  <g:link>https://shop.example.ua/chaynyk-philips-hd9350</g:link>
  <g:image_link>https://shop.example.ua/image/catalog/hd9350.jpg</g:image_link>
  <g:price>1899.00 UAH</g:price>
  <g:availability>in_stock</g:availability>
  <g:brand>Philips</g:brand>
  <g:condition>new</g:condition>
</item>

Shipping and returns

Shipping costs are set in Merchant Center settings, not in the feed. For Nova Poshta, it is convenient to specify a range of timeframes (for example, 1–3 days) and a cost as a fixed amount or "per carrier rate," depending on what the interface offers for Ukraine. If free shipping applies above a certain amount, be sure to specify the threshold. Return policies in Merchant Center must match word for word what is written on the site.

Why are products failing review, and what should you do right away?

After the first upload, Google processes the feed in anywhere from a few hours to a few days. Some products almost always receive warnings. This is normal if the errors are not widespread. Typical causes on OpenCart:

  • Price mismatch. The site price depends on the currency in the session, while the feed outputs hryvnias, or the page cache shows an old price. Check that the default currency is the hryvnia, and clear the cache after mass price changes.
  • Availability mismatch. A product with zero stock but with ordering allowed shows as available on the site and as unavailable in the feed, or vice versa. Align the logic with how you manage stock levels in OpenCart.
  • Image unavailable. Hotlink protection or a CDN blocks Googlebot.
  • Page unavailable. The product is disabled but still in the feed, or the SEO address has changed.
  • Account suspension. Usually caused by empty contact and returns pages or suspicious prices.

An analysis of specific Merchant Center messages and how to fix them will appear in a separate article in the section on errors. The main rule here: look at mass errors, not isolated ones, because mass errors almost always indicate a problem in the module settings rather than in an individual product.

What to do after approval: free listings, ads, analytics

Approved products can appear in Google's free listings and in paid campaigns, including Performance Max. The availability of specific programs for Ukraine changes periodically, so check the current list in the Merchant Center help for your country. To understand which impressions drive sales, link Merchant Center with Google Ads and GA4, and make sure purchase events are passed with product IDs that match id in the feed. Without this, product reports will be empty. The basic set of metrics is described in the article on online store analytics from day one.

After that, the regular cycle begins: review diagnostics once a week, and the names and categories of your most popular products once a month. For how feeds in general affect sales on Google and Meta, there is an overview article in the blog: product feeds for Google Merchant Center and Meta.

Summary

  • Start with the site: contacts, payment and delivery, returns, HTTPS, correct prices on product pages. Only then the Merchant Center account.
  • The simplest way to verify the site is through GA4 or Tag Manager, so the tag does not disappear after a theme update.
  • In OpenCart 3.0 and 4.1, the feed is generated by a module or a custom script. Check that it takes prices with promotions in hryvnias, real availability, brand, and EAN.
  • Configure shipping and returns in Merchant Center the same way they are described on the site.
  • Mass errors indicate a problem in the module settings, so fix the cause rather than individual products.

The next step is to work on optimizing names and attributes and on common diagnostic errors. All materials about feeds are collected in the section Feeds and Google Merchant Center.

FAQ

Can I connect Merchant Center if my store has several languages?
Yes. Most often, a separate feed is created for each language, with links to the matching language version of the pages. The language of product names and descriptions in the feed should match the language of the page the link leads to.
What should I do with products that have options, such as clothing sizes?
Each variant is passed as a separate product with its own id and a shared item_group_id, plus attributes such as size or color. Check whether your module supports this, because standard OpenCart options do not have a separate SKU for each variant.
How often should Google fetch the feed?
For most stores, once a day is enough. If stock and prices change during the day, also turn on automatic product updates or set up more frequent fetches.
Do I need a separate feed for Meta if I already have one for Google?
The formats are very similar, and Meta often accepts the same XML. However, requirements for categories and certain fields differ, so many modules generate two feeds from one setting.
Will changing product SEO URLs affect Merchant Center?
Yes, old links in the feed will become invalid, and products may be temporarily disapproved. Set up 301 redirects and regenerate the feed right away so the link points to the new URLs.
Was this article helpful?
Thanks for your feedback!

Related articles

Didn't find the answer?

Ask the community: OpenCart developers answer on the forum.

Ask on the forum
We use cookies

We use cookies and similar technologies to improve your experience, analyse traffic, and show personalised ads. Read our Cookie Policy for details.