PHP code example of waaz / sylius-pickup-plugin
1. Go to this page and download the library: Download waaz/sylius-pickup-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/ */
waaz / sylius-pickup-plugin example snippets
Magentix\SyliusPickupPlugin\MagentixSyliusPickupPlugin::class => ['all' => true],
declare(strict_types=1);
namespace App\Entity\Shipping;
use Doctrine\ORM\Mapping as ORM;
use Magentix\SyliusPickupPlugin\Entity\ShipmentPickupAwareTrait;
use Sylius\Component\Core\Model\Shipment as BaseShipment;
/**
* @ORM\Entity
* @ORM\Table(name="sylius_shipment")
*/
class Shipment extends BaseShipment
{
use ShipmentPickupAwareTrait;
}