PHP code example of magentix / mondial-relay-plugin

1. Go to this page and download the library: Download magentix/mondial-relay-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

magentix / mondial-relay-plugin example snippets


BitBag\SyliusShippingExportPlugin\BitBagSyliusShippingExportPlugin::class => ['all' => true],
Magentix\SyliusPickupPlugin\MagentixSyliusPickupPlugin::class => ['all' => true],
Magentix\SyliusMondialRelayPlugin\MagentixSyliusMondialRelayPlugin::class => ['all' => true],

# app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        ...
        new \BitBag\SyliusShippingExportPlugin\BitBagSyliusShippingExportPlugin(),
        new \Magentix\SyliusPickupPlugin\MagentixSyliusPickupPlugin(),
        new \Magentix\SyliusMondialRelayPlugin\MagentixSyliusMondialRelayPlugin(),
    ];
}
bash
php bin/console sylius:theme:assets:install