All Projects → coopTilleuls → CoopTilleulsSyliusClickNCollectPlugin

coopTilleuls / CoopTilleulsSyliusClickNCollectPlugin

Licence: AGPL-3.0 license
Sell and deliver securely during the COVID-19 pandemic!

Programming Languages

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

Projects that are alternatives of or similar to CoopTilleulsSyliusClickNCollectPlugin

CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (-74.03%)
Mutual labels:  covid-19, covid-virus, covid19
open-data-covid-19
Open Data Repository for the Covid-19 dataset.
Stars: ✭ 19 (-75.32%)
Mutual labels:  covid-19, covid-virus, covid19
covid-19-stats
Get the latest COVID-19 statistics by country
Stars: ✭ 41 (-46.75%)
Mutual labels:  covid-19, covid-virus, covid19
covid19-visualized
COVID-19 World update with data Visualization (Include Indonesia cases)
Stars: ✭ 23 (-70.13%)
Mutual labels:  covid-19, covid-virus, covid19
us-covid19
Data repository of State's Health Department stats for COVID19 in the United States
Stars: ✭ 37 (-51.95%)
Mutual labels:  covid-19, covid-virus, covid19
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (-44.16%)
Mutual labels:  covid-19, covid-virus, covid19
CoronaVirusDatabase
A repository for analyzing references and database of "gisanddata.maps.arcgis.com" website for Corona Virus.
Stars: ✭ 38 (-50.65%)
Mutual labels:  covid-19, covid-virus, covid19
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (-38.96%)
Mutual labels:  covid-19, covid-virus, covid19
cwa-qr
Python Implementation of the CoronaWarnApp (CWA) Event Registration
Stars: ✭ 17 (-77.92%)
Mutual labels:  covid-19, covid19
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+58.44%)
Mutual labels:  covid-19, covid19
rcvr-app
recover provides localities a privacy-compliant, safe, and easy way for their guests to check in. See https://www.recoverapp.de/ for more details.
Stars: ✭ 43 (-44.16%)
Mutual labels:  covid-19, covid19
coronablocker
🦠 Chrome extension to block any news about Covid-19 on social networks.
Stars: ✭ 30 (-61.04%)
Mutual labels:  covid-19, covid19
covid19-timeseries
Covid19 timeseries data store
Stars: ✭ 38 (-50.65%)
Mutual labels:  covid-19, covid19
COVID breakdown
COVID-19 statistics in Taiwan
Stars: ✭ 15 (-80.52%)
Mutual labels:  covid-19, covid19
api-service
The REST API backend server for the Jalgaon CoHelp application. Built with Kotlin Ktor.
Stars: ✭ 26 (-66.23%)
Mutual labels:  covid-19, covid19
covid-19
A web application to display Coronavirus Diseases (COVID19) statistics from different countries.
Stars: ✭ 28 (-63.64%)
Mutual labels:  covid-19, covid19
covid-br
COVID dashboard status from Brazil.
Stars: ✭ 28 (-63.64%)
Mutual labels:  covid-19, covid19
PhoNER COVID19
COVID-19 Named Entity Recognition for Vietnamese (NAACL 2021)
Stars: ✭ 55 (-28.57%)
Mutual labels:  covid-19, covid19
SyliusCmsPagePlugin
A Sylius plugin to manage your CMS pages
Stars: ✭ 26 (-66.23%)
Mutual labels:  sylius, sylius-plugin
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (-40.26%)
Mutual labels:  covid-19, covid19

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 eCommerce platform. It's free (as in speech, and as in beer), and it's brought to you by your friends from Les-Tilleuls.coop. It can also be used in addition to all the existing features and plugins of Sylius.

CI

How Does It Work?

Screencast

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 CCTV

Repeat!

You're now selling while preventing the pandemic to spread!

Install

Note: to test the plugin locally, see CONTRIBUTING.md

  1. Install Sylius

  2. Install Sylius Click 'N' Collect: composer require tilleuls/sylius-click-n-collect-plugin

  3. Register the bundle:

    <?php
    
    // config/bundles.php
    
    return [
        // ...
        CoopTilleuls\SyliusClickNCollectPlugin\CoopTilleulsSyliusClickNCollectPlugin::class => ['all' => true],
    ];
  4. Import the configuration:

    # config/packages/sylius_click_n_collect.yaml
    imports:
        - { resource: "@CoopTilleulsSyliusClickNCollectPlugin/Resources/config/app/config.yml" }
  5. Import the routes:

    # 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
    
    // src/Entity/Shipping/ShippingMethod.php
    
    namespace App\Entity\Shipping;
    
    use CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShippingMethod;
    use CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShippingMethodInterface;
    use Doctrine\ORM\Mapping as ORM;
    use Sylius\Component\Core\Model\ShippingMethod as BaseShippingMethod;
    
    /**
     * @ORM\Entity
     * @ORM\Table(name="sylius_shipping_method")
     */
    class ShippingMethod extends BaseShippingMethod implements ClickNCollectShippingMethodInterface
    {
        use ClickNCollectShippingMethod {
            __construct as initializeShippingMethodLocations;
        }
    
        public function __construct()
        {
            parent::__construct();
    
            $this->initializeShippingMethodLocations();
        }
    
        // ...
    }
    <?php
    
    // src/Entity/Shipping/Shipment.php
    
    namespace App\Entity\Shipping;
    
    use CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipment;
    use CoopTilleuls\SyliusClickNCollectPlugin\Entity\ClickNCollectShipmentInterface;
    use CoopTilleuls\SyliusClickNCollectPlugin\Validator\Constraints\SlotAvailable;
    use Doctrine\ORM\Mapping as ORM;
    use Sylius\Component\Core\Model\Shipment as BaseShipment;
    
    /**
    * @ORM\Entity
    * @ORM\Table(name="sylius_shipment", indexes={@ORM\Index(columns={"location_id", "collection_time"})})
    * @SlotAvailable(groups={"sylius"})
    */
    class Shipment extends BaseShipment implements ClickNCollectShipmentInterface
    {
       use ClickNCollectShipment;
    }
  7. Override the templates:

    cp -R vendor/tilleuls/sylius-click-n-collect-plugin/tests/Application/templates/* templates
    
  8. Create and execute database migrations:

    bin/console doctrine:migrations:diff
    bin/console doctrine:migrations:migrate
    
  9. Copy the assets

    bin/console assets:install
    bin/console sylius:theme:assets:install
    
  10. Add your products and stocks or import them

  11. Configure the pick up locations, the available time slots, and how many people you can safely serve in parallel

  12. Create a dedicated shipping method

  13. Optionally, configure an online payment method from the admin (Stripe and PayPal are supported out of the box)

Export data

see docs/exports.md

You're ready to sell!

License

Pandemic Clause

To use this software, you MUST ensure that all the workers and customers using it aren't at risk! It means that you MUST reduce the number of contacts between the workers and customers (in most cases the delivery should be contactless), and that you MUST provide masks, hand sanitizers and gloves to the workers who handle products.

Lives matter more than profits.

AGPL

Sylius Click 'N' Collect is licensed under AGPL-3.0. For companies not wanting, or not able to use AGPL-3.0 licensed software, commercial licenses are also available. Contact us for more information.

Credits

Created by Kévin Dunglas for Les-Tilleuls.coop. Commercial support available at Les-Tilleuls.coop.

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].