Lifetime updates | 180 days of free support included ...more |
Google Merchant API extension for Magento 2 allows you to seamlessly connect your Magento 2 ecommerce store with Google Merchant Center via the new Merchant API. It can be used to submit products to Merchant Center automatically, automate product management, retrieve or update product attributes, get status updates, issue reports and much more.
The extension allows you to manage your Merchant Center products directly from Magento 2 without the need to manually generate feeds or do complex attribute configurations.
XML feeds are things from the past, with our Google Merchant API extension for Magento 2 you can manage your Merchant Center Products without leaving Magento 2 admin panel.
By making a few Mass action menus available, you can get product information from Merchant Center, add product, update or delete product with the click of a button.
You can now obtain product item information from Merchant Center by simply selecting your product from Magento 2 product grid in admin panel. The extension will automatically list all product information added in Merchant Center including details, attributes, custom attributes and detected issues.
You can quickly access any potential issues detected and fix them without leaving Magento 2 admin panel. You can do so for multiple products at once.
Each product that has been added to Merchant Center will receive a new column in your product grid which provides easy-to-access quick information regarding Merchant Center status, last updated, potential issues found and you can easily find products that don't perform at their best in Merchant Center.
Google Merchant API extension for Magento 2 that creates connection to Google Merchant Center allowing you to manage your products in Merchant Center directly from Magento 2. No more XML feeds, nor manual uploads. You can add, remove products or update products from your Magento 2 admin panel. Notify Merchant Center for product updates or stock level changes.
Watch Google Merchant API for Magento 2
The extension comes with a built-in super flexible system that allows attribute modification in real time. There are situations where attributes values must be modified before they get sent to Merchant Center. By adding ability to define multiple attribute modifiers you can adjust any value of any attribute on the fly.
You can also pull attribute values from PARENT products. This is especially useful when some attributes don't exists or are empty in child products, their value can be pulled from the parent product instead.
We have designed the module to provide a super flexible custom event sustem that allows developers to hook to myriad of events and modify any attribute value prior to being send to Merchant Center By adding custom events such as merchant_center_set_size, merchant_center_set_color and also the entire range of attributes merchant_center_set_[attribute], you can access any attribute at any given time and do further modifications and apply custom logic.
In addition, all modifiers are public functions which allows for any after() and before() plugin logic as well.
All our products come with a 6 full months (180 days) of premium support. To report a bug, use our Premium Help Desk available in your account at Anowave.
I never liked the bunch of XML feed generating modules, you have to be a developer in a sense to use them and the moment an issue occurs you can't fix it yourself. Switched to this module and it is such a relief! Seems like a new module with few things to adjust but the main features are working correctly.
Highly recommended for Magento store owners who want a reliable and efficient way to manage their Google Merchant Center integration!
Superb support from Anowave as usual!
Yes, I recommend this product
Absolutely amazing extension! It took a while to configure but with the help of the support team, everything worked. No more XML, no more cron jobs, no more schedules, the moment you update a product it gets updated in MC as well.
We needed to apply some run-time modifications of some attributes and the team added this feature for us the same day!
Can't recommend it enough!
Yes, I recommend this product
This extension can be installed in a few minutes, by going through the following steps:
You can install this extension via Composer only after purchasing a Composer support package
Run the following Composer commands
composer require anowave/package
composer require anowave/merchant
composer require google/shopping-merchant-products
composer require google/shopping-merchant-datasources
bin/magento setup:upgrade
bin/magento setup:static-content:deploy (only if site is in production mode)
The extension requires 2 libraries that need to be installed via Composer. You can do so from command line by executing the following 2 commands:
The module requires some initial configuration but once done, it will operate autonomously from then on. General configuration, requires 3 important steps:
1. Creating a new project in Google Cloud Platform
2. Enabling Merchant API in the project and creating a service account + access keys
3. Authorizing API access to Merchant Center
Google Cloud Platform
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google. To get started go to Google Cloud Platform.
Adding new project in Google Cloud Platform
Once you access Google Cloud Platform, click Projects -> New Project from the dropdown located in the top left corner of your browser. In the next screen name your project and click CREATE
When project gets created, select the project so you can start working in the newly created project.
Enabling Merchant API
From the project dashboard click QUICK ACCESS -> APIs & Services.
API & Services |
Then in the search box located in top middle section of your screen type 'Merchant API' and hit enter. You should get Merchant API link as search result, click on that result.
On the next screen click the blue ENABLE button to enable the Merchant API
Credentials
Click a blue button called CREATE CREDENTIALS, in the Select an API * dropdown select 'Merchant API', select 'Application data' radio for the data access type and click NEXT
In Service account details input name your service account to whatever you feel recognizable e.g. Merchant API account, add description if you find suitable.
1. Click Create & Continue
2. On next screen for Role select 'Owner' and click Continue
3. Click Done
Creating keys
From the left menu, click CREDENTIALS
Credentials |
From Service accounts section select your newly created service account. Once selected, click Keys. From Add key dropdown select Create New Key, for Key type select JSON and click Create. You shall be given a link to download a JSON key file which you can store anywhere in your computer.
Authorizing Merchant Center
On the service accounts page click Details and copy the email of the service account, it will be in the following format: merchant-api-account@stunning-saga-441609-v5.iam.gserviceaccount.com
1. Once copied, go to your Merchant Center account at Google
2. Click the gearbox icon located in your top right corner and then select People & Access
3. In People section click 'Add person' and insert the email of the service account.
4. On next screen for access type select Standard and Performance and Insights checkboxes. You can leave Admin unchecked.
5. Click Add user button located in your bottom right corner.
Adding JSON key to config
Last but not least, we need to add the generated and downloaded JSON key into the extensions config screen. Open your Magento 2 admin panel and go to Stores -> Configuration -> Anowave -> Google Merchant API and upload the key in the config.
In order to work correctly, the extension requires a new data source in your Google Merchant account. To create a new data source of type API, go to Google Merchant center -> Products -> Manage Data Sources -> Add data source. On this screen select Add products using API if available and create the data source.
Most of the job is done automatically for you but you have a few options available to use or choose from.
Adding or updating product to Merchant Center
To add a new product to Merchant Center go to your products grid at Catalog -> Products. Then mark the checkbox in the row of your product and from Actions dropdown select Merchant API -> Add to Merchant center
Same approach could be use to obtain information about the product or schedule it for removal from Merchant Center
Mapping your categories to Google Categories
If you want to assign your products to specific categories in Google, you need to map them to the same category names used by Google. This can be done directly from your categories tree in Catalog -> Categories -> Edit any category and from Merchant Center panel select the matching Google Category. That should be all.
The extension is designed to provide ability to developers to modify attribute values on the fly using custom events dispatched by the extension itself. You can hook to any event from your own module and do any kind of modification before the value gets send to Merchant Center
The custom events have the following notication:
General event that fires always
merchant_center_set_attribute
Attribute specific event that fires for specific attributes
merchant_center_set_[attribute] ... [attribute] can be any of the attributes available in Merchant Center + Customer Attributes from the EAV system of Magento 2
Some events + examples
merchant_center_set_size
merchant_center_set_color
We have prepared a quick example below, how to utilize the custom events
In your own module, define etc/events.xml and add some of the custom events that you want to hook to
Then, define your own PHP observer
Each event observer can access the value of the attribute, the attribute code, the product object and other helpers. This approach allows you to have multiple modifiers for the same attribute value, apply a conditional value modification or not set value at all for some scenarios. Hooking to these events from your own module, keeps the extensions updateable in future.
Anowave is an extension developer for Magento 1.x and Magento 2.x platforms. We provide a wide range of premium extensions for our in-house and public clients. The extensions we offer extend the capabilities of Magento and provide bespoke functionality. They also fill some gaps in the functionality provided by the base platform and help customers choose Magento as their preferred eCommerce platform.
The extensions we offer are part of our full-range Magento service, which also includes a Premium Helpdesk where customers can speak with actual software engineers and have their issues resolved without hassle. Premium-labeled modules also include free installation, configuration, testing, etc.