kuriousagency/product-feed

Craft CMS plugin for processing large product feeds via the console

1.0.2 2020-11-04 16:03 UTC

This package is auto-updated.

Last update: 2024-11-05 00:42:17 UTC


README

Craft CMS plugin for processing large product feeds from the console and storing in cache.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 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 KuriousAgency/product-feed
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Product Feed.

Product Feed Overview

Create a cached version of a product feed using a console command.

Configuring Product Feed

Enter the path to the template that will be used for the feed.

Using Product 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