Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cooptilleuls/cooptilleulssyliusclickncollectplugin
Sell and deliver securely during the COVID-19 pandemic!
https://github.com/cooptilleuls/cooptilleulssyliusclickncollectplugin
click-and-collect covid-19 covid-virus covid19 sylius sylius-plugin symfony symfony-bundle
Last synced: 7 days ago
JSON representation
Sell and deliver securely during the COVID-19 pandemic!
- Host: GitHub
- URL: https://github.com/cooptilleuls/cooptilleulssyliusclickncollectplugin
- Owner: coopTilleuls
- License: agpl-3.0
- Created: 2020-03-22T08:46:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T14:14:44.000Z (about 1 year ago)
- Last Synced: 2024-12-09T12:53:43.961Z (14 days ago)
- Topics: click-and-collect, covid-19, covid-virus, covid19, sylius, sylius-plugin, symfony, symfony-bundle
- Language: PHP
- Homepage: https://click-n-collect.shop
- Size: 5.45 MB
- Stars: 78
- Watchers: 6
- Forks: 34
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
**Sell and hand over securely during the coronavirus pandemic!**
Because of the coronavirus pandemic, a large part of the world is under lockdown and most shops are closed or with long queues.
**Sylius Click 'N' Collect** is a solution to sell and hand over your products **safely** during the lockdown (and even after that).
By allowing **contactless** pick up and preventing queues, **Sylius Click 'N' Collect** protects your workers and your customers.**Sylius Click 'N' Collect** is a plugin for the [Sylius](https://sylius.com/) eCommerce platform.
[It's free](#license) (as in speech, and as in beer), and it's brought to you by your friends from [Les-Tilleuls.coop](https://les-tilleuls.coop). It can also be used in addition to all the existing features and plugins of Sylius.![CI](https://github.com/coopTilleuls/CoopTilleulsSyliusClickNCollectPlugin/workflows/CI/badge.svg)
## How Does It Work?
[![Screencast](https://i.imgur.com/yOU3sw7.png)](https://www.youtube.com/watch?v=bQ9_vQJf-2I)
As a customer:
1. Go on the shop's website
2. Select the products to order
3. Select the collect location (e.g. the physical shop)
4. Select an available time slot
5. Pay online, or select in-store payment (Stripe and PayPal are also supported).
6. Optional: a PIN is generated, you'll need it to retrieve the order
7. Pick up your order at the shop during the selected time slot! Use the PIN code to unlock the box if appropriate.As a seller:
1. Use the timetable in the admin interface to see the upcoming orders
2. Prepare the orders: put them in a bag and make the order number noticeable (staple it or use a marker)
3. Clean carefully the shelf and the lock (if appropriate) with the appropriate cleaning products
4. Put the bag in the shelf
5. Optional: use the PIN to lock the box in the shelf to secure the order
6. Monitor the pick up from afar, from behind a window, or using CCTVRepeat!
You're now selling while preventing the pandemic to spread!
## Install
Note: to test the plugin locally, see [CONTRIBUTING.md](CONTRIBUTING.md)
1. [Install Sylius](https://docs.sylius.com/en/latest/book/installation/installation.html)
2. Install **Sylius Click 'N' Collect**: `composer require tilleuls/sylius-click-n-collect-plugin`
3. Register the bundle:```php
['all' => true],
];4. Import the configuration:
```yaml
# config/packages/sylius_click_n_collect.yaml
imports:
- { resource: "@CoopTilleulsSyliusClickNCollectPlugin/Resources/config/app/config.yml" }
```5. Import the routes:
```yaml
# config/routes/sylius_click_n_collect.yaml
coop_tilleuls_sylius_click_n_collect_shop:
resource: "@CoopTilleulsSyliusClickNCollectPlugin/Resources/config/shop_routing.yml"
prefix: /{_locale}
requirements:
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$
coop_tilleuls_sylius_click_n_collect_admin:
resource: "@CoopTilleulsSyliusClickNCollectPlugin/Resources/config/admin_routing.yml"
prefix: /admin
```6. Update the native entities:
```php
initializeShippingMethodLocations();
}
// ...
}
``````php