-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
290 changed files
with
8,400 additions
and
1,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,5 @@ public/bundles | |
public/var | ||
drivers | ||
vendor/ | ||
cache/ | ||
cache/ | ||
docs/generated-docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,10 @@ | ||
# CoreShop Address Bundle | ||
|
||
Address Bundle provides you with Models for Storing Countries, States, Zones and Addresses. As well as Context Resolvers | ||
to find the visitors Country. | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/address-bundle:^3.0 | ||
``` | ||
|
||
### Adding required bundles to kernel | ||
You need to enable the bundle inside the kernel. | ||
|
||
```php | ||
<?php | ||
|
||
// app/AppKernel.php | ||
|
||
public function registerBundlesToCollection(BundleCollection $collection) | ||
{ | ||
$collection->addBundles([ | ||
new \CoreShop\Bundle\AddressBundle\CoreShopAddressBundle(), | ||
]); | ||
} | ||
``` | ||
|
||
### Updating database schema | ||
Run the following command. | ||
|
||
```bash | ||
$ php bin/console doctrine:schema:update --force | ||
``` | ||
|
||
### Install Pimcore Entities | ||
|
||
```bash | ||
$ php bin/console coreshop:resources:install | ||
``` | ||
|
||
Learn more about overriding Pimcore Classes [here](../03_Development/01_Extending_Guide/03_Extend_CoreShop_DataObjects.md)) | ||
|
||
## Usage | ||
|
||
This Bundle integrates Address Component into Symfony and Doctrine | ||
|
||
The Address Bundle provides you with basic information needed for addressing: Countries, States, Zones and Address | ||
|
||
The Bundle also introduces an Address Formatter, which formats addresses in country based formats. | ||
|
||
## Doctrine Entities | ||
CoreShop Address Bundle provides a basic set of data for Addressing Information like: | ||
- Country | ||
- Zone | ||
- State | ||
- Address | ||
|
||
## Pimcore Entities | ||
- Address (CoreShopAddress) | ||
|
||
## Pimcore UI | ||
|
||
- Country | ||
- State | ||
- Zone | ||
> This Bundle can be used separately, but doesn't provide any detail information how to use it. | ||
How to use? | ||
|
||
```javascript | ||
coreshop.global.resource.open('coreshop.address', 'country'); | ||
coreshop.global.resource.open('coreshop.address', 'state'); | ||
coreshop.global.resource.open('coreshop.address', 'zone'); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CoreShop Frontend Bundle | ||
|
||
CoreShop FrontendBundle provides some FrontendControllers as well as a default Implementation for the Frontend. | ||
|
||
> This Bundle is not advised to be installed seperately! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# CoreShop Inventory Bundle | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/inventory-bundle:^3.0 | ||
``` | ||
CoreShop Inventory Bundle provides a Basic implementation to handle Inventory for a Product. | ||
|
||
> This Bundle can be used separately, but doesn't provide any detail information how to use it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# CoreShop Locale Bundle | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/locale-bundle:^3.0 | ||
``` | ||
CoreShop Locale Bundle provides a basic set of data for Locale Information. | ||
|
||
> This Bundle can be used separately, but doesn't provide any detail information how to use it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# CoreShop Messenger Bundle | ||
|
||
CoreShop Messenger Bundle provides you with a nice UI to see what Messenger Tasks are queued in which queues: | ||
|
||
![Messenger](img/messenger.png) | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/messenger-bundle:^3.0 | ||
``` | ||
|
||
### Adding required bundles to kernel | ||
You need to enable the bundle inside the kernel. | ||
|
||
```php | ||
<?php | ||
|
||
// app/AppKernel.php | ||
|
||
public function registerBundlesToCollection(BundleCollection $collection) | ||
{ | ||
$collection->addBundles([ | ||
new \CoreShop\Bundle\MessengerBundle\CoreShopMessengerBundle(), | ||
]); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
# CoreShop Notification Bundle | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/notification-bundle:^3.0 | ||
CoreShop Notification Bundle handles all communication between CoreShop and the outside world. It provides a basic set of data for Notifications like: | ||
- Notification Rules | ||
- Notification Rule Conditions | ||
- Notification Rule Actions | ||
|
||
> This Bundle can be used separately, but doesn't provide any detail information how to use it. | ||
## Usage | ||
Notifications run async in a Symfony messenger queue: | ||
|
||
``` | ||
bin/console messenger:consume coreshop_notification coreshop_index --time-limit=300 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CoreShop Optimistic Entity Lock Bundle | ||
|
||
The CoreShop Optimistic Entity Lock Bundle is a package for the CoreShop e-commerce framework, based on the Pimcore platform, designed to handle optimistic entity locking. This bundle helps prevent conflicts when multiple users try to edit the same entity concurrently by implementing an optimistic locking strategy. | ||
![Messenger](img/messenger.png) | ||
|
||
## Installation | ||
```bash | ||
$ composer require optimistic-entity-lock-bundle | ||
``` | ||
|
||
### Adding required bundles to kernel | ||
You need to enable the bundle inside the kernel. | ||
|
||
```php | ||
<?php | ||
|
||
// app/AppKernel.php | ||
|
||
public function registerBundlesToCollection(BundleCollection $collection) | ||
{ | ||
$collection->addBundles([ | ||
new \CoreShop\Bundle\OptimisticEntityLockBundle\CoreShopOptimisticEntityLockBundle(), | ||
]); | ||
} | ||
``` | ||
|
||
## Usage | ||
|
||
Your Pimcore DataObject Class needs to implement the Interface `CoreShop\Bundle\OptimisticEntityLockBundle\Model\OptimisticLockedInterface`. | ||
|
||
You can therefore add the field `optimisticLockVersion` to your Pimcore Class Definition. | ||
|
||
From now on, everytime the DataObject gets saved, CoreShop compares the Versions and increases it before saving. If the version is different, someone else saved the entity before you and you get a exception. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,5 @@ | ||
# CoreShop Order Bundle | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/order-bundle:^3.0 | ||
``` | ||
CoreShop Order Bundle provides a basic set of data for Orders. | ||
|
||
### Adding required bundles to kernel | ||
You need to enable the bundle inside the kernel | ||
|
||
```php | ||
<?php | ||
|
||
// app/AppKernel.php | ||
|
||
public function registerBundlesToCollection(BundleCollection $collection) | ||
{ | ||
$collection->addBundles([ | ||
new \CoreShop\Bundle\OrderBundle\CoreShopOrderBundle(), | ||
]); | ||
} | ||
``` | ||
|
||
### Updating database schema | ||
Run the following command. | ||
|
||
```bash | ||
$ php bin/console doctrine:schema:update --force | ||
``` | ||
|
||
### Install Pimcore Entities | ||
|
||
```bash | ||
$ php bin/console coreshop:resources:install | ||
``` | ||
|
||
Learn more about overriding Pimcore Classes [here](../03_Development/01_Extending_Guide/03_Extend_CoreShop_DataObjects.md) | ||
|
||
## 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](../03_Development/01_Extending_Guide/04_Extending_Rule_Conditions.md) | ||
|
||
### Actions | ||
Learn more about adding new Actions [here](../03_Development/01_Extending_Guide/04_Extending_Rule_Actions.md) | ||
|
||
## Pimcore UI | ||
|
||
- Order Grid | ||
|
||
How to use? | ||
|
||
```javascript | ||
coreshop.global.resource.open('coreshop.order', 'orders'); | ||
``` | ||
> This Bundle can be used separately, but doesn't provide any detail information how to use it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# CoreShop Payum Payment Bundle | ||
|
||
Integrates CoreShop Payment Bundle with Payum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# CoreShop Payum Bundle | ||
|
||
## Installation | ||
```bash | ||
$ composer require coreshop/payum-bundle:^3.0 | ||
``` | ||
Handles the Payum Integration with CoreShop. This Bundle requires the Core and can only be used in the full installation. | ||
|
||
> This Bundle is not advised to be installed seperately! |
Oops, something went wrong.