Module for integrating OpenCart with the new Merchant API v1. It provides
continuous product uploads to Google Merchant Center and lets you build
product feeds with different settings and filters — for separate advertising
campaigns or for free listings of your products in Google Shopping.
DEMO Admin
What the module does: creates product channels that are pushed from your
OpenCart store to Google via the API. On top of that, the module can update
products in Google Merchant in real time when they are edited manually in
OpenCart, or update them on a schedule (cron) — for cases when products or
their data are refreshed from external sources through import or parsing.
Products from local stores can also be pushed (for local inventory
listings).
The module runs only on PHP 8.1 and above. For now it is compatible
only with OpenCart 3. If your system does not meet these
requirements, we recommend a similar module —
Merchant XML.
The module does not work with product options — it does not support
products from categories such as Apparel and Footwear, where size, color,
material, and gender attributes have to be sent.
The module lets you send items with the same offerIds you used in your
previous modules, so product history and accumulated statistics in Merchant
Center are preserved.
For users of our old Content API module there is a special discount — 70%
off, provided the new module is purchased for the same domain. To claim this
discount, contact us via Telegram, Viber, or email.
Extension installation instructions:
Upload the module in the admin panel under "Extensions" →
"Installer".
Go to "Modifications" and refresh the cache.
Go to "Dashboard" and refresh the template cache (OpenCart 3 only).
Go to "Extensions" → "Extensions" → "Promotion Channels" and enable
the Google Merchant API module.
Edit the module. Enable the module status, configure the remaining
options to fit your needs, and save the settings.
Open the feed manager (the list button at the top, or the "Merchant
API" item in the left-side menu) and add your first feed.
To create a feed, you need to set up a project in Google Cloud
Console, enable the "Merchant API" for that project, create a
service account inside it, and download its JSON key. Paste this key
into the feed profile settings in the module.
Save your feed with the JSON API key entered and the fields above it
filled in.
Edit the feed again. In the "Developer email" field, enter the email
of the Google account you used to create the project in Google Cloud
Console, and click the "Register GCP project" button. This grants
the special "API Developer" access type, without which the module
cannot work with the API. This step does not need to be repeated for
subsequent feeds under the same project.
Copy the service account email from the feed settings and add it
under Users in your Merchant Center account: Merchant Center →
Settings → Access and Service → Add user. Assign both the Admin and
Standard user roles.
Next, create a product data source in Merchant Center. This can be
done either through the module (using the Create button in the Data
Source ID block) or directly in Merchant Center. You can also select
an existing data source right from the module. The goal is to have
the data source ID entered in the corresponding field in the feed
settings.
Configure the remaining options at your own discretion.
Once the feed is saved, open it and, in the Uploading tab, click the
product upload button.
If needed, add a task to the cron scheduler on your hosting for
periodic automatic updates of products in Merchant Center.
A developer cheat sheet on using ternary operators in Twig. It will be useful for new developers of OpenCart and other CMSs that use this templating engine.
The OpenCart team has officially presented release 3.0.5.0, which contains a significant package of fixes, code cleanup, and compatibility improvements with modern PHP versions.
On November 20, 2025, a new major release of PHP was published - version 8.5. PHP 8.5 introduces useful improvements, but requires a careful approach when integrating into existing OpenCart projects.