This module provides customizable generator of Google PLA Feed. It's not ready to use solution, rather a framework.
The easiest way to install is to use Composer:
composer config repositories.pla vcs https://github.com/guidance/google-pla-generator
composer require guidance/module-google-pla
There are few points for configuration this module:
-
To configure columns of the feed you need to pass ordered array of column renderers to
Guidance\GooglePLA\Model\Feed
incolumnRenderers
(it's configured inetc/di.xml
). All passed rendereres should implementGuidance\GooglePLA\Model\Feed\ColumnRendererInterface
. There are plenty of ready to used renderers inModel/Feed/ColumnRenderer/
folder that use. -
Periodic feed generation can be configured in
etc/crontab.xml.
-
Feed location can be configured on Stores > Configuration > Catalog > Google PLA page of admin panel.
Also feed can be generated with Magento CLI command:
bin/magento google:pla:generate feed.txt