Skip to content

Commit

Permalink
Describe parent_order_folder formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasBr authored and dvesh3 committed Nov 7, 2023
1 parent e24e803 commit aa8971f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/17_Order_Manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pimcore_ecommerce_framework:
list_class: Pimcore\Bundle\EcommerceFrameworkBundle\OrderManager\Order\Listing
# Class for order item listing
list_item_class: Pimcore\Bundle\EcommerceFrameworkBundle\OrderManager\Order\Listing\Item
# Default parent folder for new orders
# Default parent folder for new orders, will be parsed by strftime()
parent_order_folder: /order/%%Y/%%m/%%d
# Options for oder agent
order_agent:
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private function buildOrderManagerNode(): NodeDefinition
->cannotBeEmpty()
->end()
->scalarNode('parent_order_folder')
->info('Default parent folder for new orders')
->info('Default parent folder for new orders, it is possible to use strftime-compatible placeholders')
->defaultValue('/order/%%Y/%%m/%%d')
->cannotBeEmpty()
->end()
Expand Down

0 comments on commit aa8971f

Please sign in to comment.