CoreShop Order Bundle
Installation
$ composer require coreshop/order-bundle:^2.0
Adding required bundles to kernel
You need to enable the bundle inside the kernel
<?php
// app/AppKernel.php
public function registerBundlesToCollection(BundleCollection $collection)
{
$collection->addBundles([
new \CoreShop\Bundle\OrderBundle\CoreShopOrderBundle(),
]);
}
Updating database schema
Run the following command.
$ php bin/console doctrine:schema:update --force
Install Pimcore Entities
$ php bin/console coreshop:resources:install
Learn more about overriding Pimcore Classes here
Usage
This Bundle integrates Order Component into Symfony and Doctrine
The Order Bundle provides you with basic information needed for ordering: Orders, Invoices, Shipments and Cart Rules
Doctrine Entities
- CartPriceRule
- CartPriceRuleVoucherCode
- State
Pimcore Entities
- Cart (CoreShopCart)
- CartItem (CoreShopCartItem)
- Order (CoreShopOrder)
- OrderItem (CoreShopOrderItem)
- OrderInvoice (CoreShopOrderInvoice)
- OrderInvoiceItem (CoreShopOrderInvoiceItem)
- OrderShipment (CoreShopOrderShipment)
- OrderShipmentItem (CoreShopOrderShipmentItem)
Cart Price Rule
Conditions
Learn more about adding new Conditions here
Actions
Learn more about adding new Actions here
Pimcore UI
- Order Grid
How to use?
coreshop.global.resource.open('coreshop.order', 'orders');