Download the PHP package sylius/admin-order-creation-plugin without Composer

On this page you can find all versions of the php package sylius/admin-order-creation-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package admin-order-creation-plugin

Sylius Logo.

Admin Order Creation Plugin

This plugin allows to create an order in admin panel.

![Screenshot showing the order creation page, Shipments&Payments section](docs/screenshot.png) ## Business value So far it was up to the Customer to place an order using available product variants as well as payment and shipping methods. The whole process of placing an order is not that obvious, however. For some reason a Customer may feel a little bit confused when a promotion is no longer available or shipping method is not eligible for given area. Here comes Admin Order Creation Plugin. Briefly speaking, it allows an Administrator to place or reorder an order in the name of a Customer. It helps them solve even more of Customers' fundamental problems and equips an Administrator with basic tools making creating an order possible. Admin Order Creation Plugin processes are strongly based on standard Order model taken from SyliusCoreBundle. The only things that differ are order creation context and business requirements. Right now it is up to the Administrator to provide a channel, locale and currency in which an Order is created. What's more, the Administrator is able to add a discount for any item or the whole Order, which is, technically speaking, a new type of Sylius Adjustments. After creating an Order via Admin panel, this new Order is listed like any other order placed via Sylius. ## Installation #### Beware! > This installation instruction assumes that you're using Symfony Flex. If you don't, take a look at the [legacy installation instruction](docs/legacy_installation.md). However, we strongly encourage you to use Symfony Flex, it's much quicker! :) 1. Require plugin with composer: > Remember to allow community recipes with `composer config extra.symfony.allow-contrib true` or during plugin installation process 2. Copy Sylius templates overridden in plugin to your templates directory (e.g `templates/bundles/`): 3. Override repositories 1. Create repository classes 2. Paste the following content to the `src/Repository/CustomerRepository.php`: 3. Paste the following content to the `src/Repository/ProductVariantRepository.php`: 4. Configure repositories in `config/packages/_sylius.yaml`: ## Extension points Admin Order Creation Plugin makes it possible to add custom discount during order creation - thus some of Order Show templates need to be replaced with those placed in `Resources/views` package. Payment link generation and sending process is based on logic placed in the PaymentLinkCreationListener class. Thus, it can be easily replaced with suitable implementation. Adjustments set is not closed and strictly defined - adding custom adjustment means defining a new constant in the AdjustmentType class. Significant part of Reorder Processing is inspired by official Sylius [Customer Reorder Plugin](https://github.com/Sylius/CustomerReorderPlugin/). In case of the need for more processors, just add new class implementing `ReorderProcessor` interface, declare it in `reorder_processing.xml` file and match it with a proper tag. Admin Order Creation process is based on Symfony Forms. To find out more about Symfony Forms extension possibilities, check out [Symfony Docs](https://symfony.com/doc/current/form/create_form_type_extension.html). ## Security issues If you think that you have found a security issue, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to `[email protected]`.

All versions of admin-order-creation-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
sylius/sylius Version ~1.12.0 || ~1.13.0
friendsofsymfony/jsrouting-bundle Version ^3.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sylius/admin-order-creation-plugin contains the following files

Loading the files please wait ....