mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add Sylius shipping slot plugin (#1296)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
|||||||
|
imports:
|
||||||
|
- { resource: "@MonsieurBizSyliusShippingSlotPlugin/Resources/config/config.yaml" }
|
||||||
|
|
||||||
|
monsieurbiz_sylius_shipping_slot:
|
||||||
|
expiration:
|
||||||
|
slot: '30 minutes'
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
monsieurbiz_shipping_slot_admin:
|
||||||
|
resource: "@MonsieurBizSyliusShippingSlotPlugin/Resources/config/routing/admin.yaml"
|
||||||
|
prefix: /%sylius_admin.path_name%
|
||||||
|
|
||||||
|
monsieurbiz_shipping_slot_shop:
|
||||||
|
resource: "@MonsieurBizSyliusShippingSlotPlugin/Resources/config/routing/shop.yaml"
|
||||||
|
prefix: /{_locale}
|
||||||
|
requirements:
|
||||||
|
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"MonsieurBiz\\SyliusShippingSlotPlugin\\MonsieurBizSyliusShippingSlotPlugin": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"copy-from-package": {
|
||||||
|
"src/Resources/views/SyliusShopBundle/Checkout/SelectShipping/_choice.html.twig": "templates/bundles/SyliusShopBundle/Checkout/SelectShipping/_choice.html.twig"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user