Google Shopping Feed for Craft CMS.
This plugin requires a commercial license purchasable through the Craft Plugin Store.
This plugin requires Craft CMS 3.1.0 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require kerosin/google-shopping-feed-pro
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Google Shopping Feed Pro.
Open the Craft admin and go to Settings → Plugins → Google Shopping Feed Pro → Settings.
http://example.com/google-shopping-feed-pro/feed/entries
To save the output to a file add save
query param to the url:
http://example.com/google-shopping-feed-pro/feed/entries?save
The file will be saved in the following path:
http://example.com/google-shopping-feed-pro/entries-SITE_HANDLE.xml
Replace SITE_HANDLE in the url with a real site handle.
http://example.com/google-shopping-feed-pro/feed/products
To save the output to a file add save
query param to the url:
http://example.com/google-shopping-feed-pro/feed/products?save
The file will be saved in the following path:
http://example.com/google-shopping-feed-pro/products-SITE_HANDLE.xml
Replace SITE_HANDLE in the url with a real site handle.
{% set entries = craft.entries.section('foo').all() %}
{{ craft.googleShoppingFeedPro.generateFeed(entries) }}
{% set products = craft.products.all() %}
{{ craft.googleShoppingFeedPro.generateFeed(products) }}
Brought to you by kerosin