All Projects → Setono → SyliusFeedPlugin

Setono / SyliusFeedPlugin

Licence: MIT License
Create feeds in your Sylius shop

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to SyliusFeedPlugin

SyliusSettingsPlugin
Provide some custom settings to your favorite Sylius shop!
Stars: ✭ 17 (-15%)
Mutual labels:  sylius, sylius-plugin
CoopTilleulsSyliusClickNCollectPlugin
Sell and deliver securely during the COVID-19 pandemic!
Stars: ✭ 77 (+285%)
Mutual labels:  sylius, sylius-plugin
SyliusPayUPlugin
PayU payment plugin for Sylius applications.
Stars: ✭ 21 (+5%)
Mutual labels:  sylius, sylius-plugin
SyliusSchedulerCommandPlugin
Schedule Symfony Commands in your Sylius
Stars: ✭ 25 (+25%)
Mutual labels:  sylius, sylius-plugin
SyliusWishlistPlugin
This plugin allows you to integrate wishlist features with Sylius platform app.
Stars: ✭ 51 (+155%)
Mutual labels:  sylius, sylius-plugin
SyliusReportPlugin
Report Plugin for Sylius. This plugin add a report interface to the Sylius administration. Some reports comes with this bundle but you can create your custom reports.
Stars: ✭ 25 (+25%)
Mutual labels:  sylius, sylius-plugin
SyliusCmsPagePlugin
A Sylius plugin to manage your CMS pages
Stars: ✭ 26 (+30%)
Mutual labels:  sylius, sylius-plugin
CustomerOrderCancellationPlugin
Plugin that allows customers to cancel the placed order before it is processed.
Stars: ✭ 22 (+10%)
Mutual labels:  sylius, sylius-plugin
SyliusAkeneoPlugin
This Sylius plugin allows you to import data from Akeneo PIM
Stars: ✭ 17 (-15%)
Mutual labels:  sylius, sylius-plugin
SyliusBannerPlugin
Add Banners to your Sylius projects with this plugin
Stars: ✭ 13 (-35%)
Mutual labels:  sylius, sylius-plugin
SyliusInvoicingPlugin
This plugin enables generating invoices in Sylius platform application.
Stars: ✭ 21 (+5%)
Mutual labels:  sylius, sylius-plugin
Feedly-Export-Save4Later
Working script for latest feedly design. Including title, url, summary, time, sourceTitle & sourceUrl
Stars: ✭ 23 (+15%)
Mutual labels:  feed
web
realness.online
Stars: ✭ 15 (-25%)
Mutual labels:  feed
BGmi
BGmi is a cli tool with Web UI for subscribed bangumi.
Stars: ✭ 465 (+2225%)
Mutual labels:  feed
gitbook-plugin-rss
RSS for your gitbook
Stars: ✭ 19 (-5%)
Mutual labels:  feed
Monofony
Main repository for all Monofony bundles
Stars: ✭ 47 (+135%)
Mutual labels:  sylius
sitemap-plugin
Sitemap Plugin for Sylius eCommerce platform
Stars: ✭ 68 (+240%)
Mutual labels:  sylius
Insight
Discord bot providing PvP activity tracking, intel, and utilities for the game EVE Online.
Stars: ✭ 27 (+35%)
Mutual labels:  feed
feeds-to-pocket
Sends entries from RSS and Atom feeds to Pocket (https://getpocket.com)
Stars: ✭ 24 (+20%)
Mutual labels:  feed
YouTubeFeeds
Get new youtube video notifs, on telegram!
Stars: ✭ 29 (+45%)
Mutual labels:  feed

Sylius Feed Plugin

Latest Version Latest Unstable Version Software License Build Status

A plugin for creating all kinds of feeds to any given service. Do you want to create product feeds for your Google Merchant center? Then this is the right plugin for you.

Installation

Step 1: Download the plugin

Open a command console, enter your project directory and execute the following command to download the latest stable version of this plugin:

$ composer require setono/sylius-feed-plugin

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the plugin

Then, enable the plugin by adding the following to the list of registered plugins/bundles in the config/bundles.php file of your project:

<?php

return [
    // ...
    
    League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
    Setono\SyliusFeedPlugin\SetonoSyliusFeedPlugin::class => ['all' => true],
    Setono\DoctrineORMBatcherBundle\SetonoDoctrineORMBatcherBundle::class => ['all' => true],
    
    // It is important to add plugin before the grid bundle
    Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
        
    // ...
];

NOTE that you must instantiate the plugin before the grid bundle, else you will see an exception like You have requested a non-existent parameter "setono_sylius_feed.model.feed.class".

Step 3: Import routing

# config/routes/setono_sylius_feed.yaml
setono_sylius_feed:
    resource: "@SetonoSyliusFeedPlugin/Resources/config/routing.yaml"

If you don't use localized URLs, use this routing file instead: @SetonoSyliusFeedPlugin/Resources/config/routing_non_localized.yaml

Step 4: Configure plugin

# config/packages/setono_sylius_feed.yaml
imports:
    - { resource: "@SetonoSyliusFeedPlugin/Resources/config/app/config.yaml" }

Step 5: Update database schema

Use Doctrine migrations to create a migration file and update the database.

$ bin/console doctrine:migrations:diff
$ bin/console doctrine:migrations:migrate

Step 6: Using asynchronous transport (optional, but recommended)

All commands in this plugin will extend the CommandInterface. Therefore you can route all commands easily by adding this to your Messenger config:

# config/packages/messenger.yaml
framework:
    messenger:
        routing:
            # Route all command messages to the async transport
            # This presumes that you have already set up an 'async' transport
            # See docs on how to setup a transport like that: https://symfony.com/doc/current/messenger.html#transports-async-queued-messages
            'Setono\SyliusFeedPlugin\Message\Command\CommandInterface': async

Usage

After setup you want to create a feed. Go to /admin/feeds/new and create a new feed. Remember to enable it and select one or more channels.

After that go to your console and run this command:

$ php bin/console setono:sylius-feed:process

If you haven't changed any configuration, there should be a feed with your products inside the /var/storage/setono_sylius_feed/feed directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].