tavy315 / sylius-product-subscriptions-plugin
Send notifications to your customers when a product returns in stock
Installs: 120
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:sylius-plugin
Requires
- php: >=8.2
- sylius/sylius: ^1.12
Requires (Dev)
README
Sylius Product Subscriptions Plugin
Plugin that add the possibility to receive an email notification when a product return in stock
Features
Subscribe to get a Notification when a product return in stock
View your subscriptions in the apposite section of your account
View your client subscriptions in the apposite admin section
Requirements
- PHP
^7.4
- Sylius
~1.8.0
Installation
-
Run
composer require tavy315/sylius-product-subscriptions-plugin
. -
Add the plugin to the
config/bundles.php
file:
Tavy315\SyliusProductSubscriptionsPlugin\Tavy315SyliusProductSubscriptionsPlugin::class => ['all' => true],
- Import the plugin routes by creating a file in
config/routes/tavy315_sylius_product_subscriptions_plugin.yaml
with the following content:
tavy315_sylius_product_subscriptions_plugin: resource: "@Tavy315SyliusProductSubscriptionsPlugin/Resources/config/routing.yaml"
- Import required config in your
config/packages/tavy315_sylius_product_subscriptions_plugin.yaml
file:
imports: - { resource: "@Tavy315SyliusProductSubscriptionsPlugin/Resources/config/app/config.yaml" }
- Finish the installation by updating the database schema and installing assets:
bin/console doctrine:migrations:diff bin/console doctrine:migrations:migrate bin/console assets:install bin/console sylius:theme:assets:install