Connecting Drupal Commerce to Google Shopping
Google's Merchant Center uses primary feeds to display your products on Google, so you need to create a Drupal Commerce products feed. To do so, we'll be creating a dynamic feed with views that follow Google's Product data specification https://support.google.com/google-ads/answer/7052112. The feed must have all the required fields from the specification. The data structure is usually specific for each Drupal Commerce project, so the samples displayed should be taken as an example only.
Let's look at the steps for creating a feed of Drupal Commerce products for Google Shopping:
- To promote your products with Google Shopping, you need to have a Google Merchant Center account. If you haven't got one yet, create one at https://merchants.google.com/start/.
- On the Drupal side, you'll need to install the Views Data Export module (https://www.drupal.org/project/views_data_export). This module allows...