Craft CMS plugin for processing large product feeds from the console and storing in cache.
This plugin requires Craft CMS 3.0.0-beta.23 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 KuriousAgency/product-feed
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Product Feed.
Create a cached version of a product feed using a console command.
Enter the path to the template that will be used for the feed.
To process the feed use the following console command
./craft product-feed/feed/run
You can now access the cached version of the feed in your template:
{{ craft.productFeed.getFeed|raw }}
Brought to you by Kurious Agency