Skip to content

kerosin/craft-google-shopping-feed-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Shopping Feed Pro plugin for Craft CMS 3.x

Google Shopping Feed for Craft CMS.

Plugin Icon

License

This plugin requires a commercial license purchasable through the Craft Plugin Store.

Requirements

This plugin requires Craft CMS 3.1.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require kerosin/google-shopping-feed-pro
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Google Shopping Feed Pro.

Configuration

Open the Craft admin and go to Settings → Plugins → Google Shopping Feed Pro → Settings.

Usage

Entries feed url

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.

Products feed url

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.

Twig function

{% 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published