diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php
index 48bea75b..e7d58a8a 100644
--- a/src/DependencyInjection/Configuration.php
+++ b/src/DependencyInjection/Configuration.php
@@ -68,7 +68,7 @@ private function addSitemapSection(ArrayNodeDefinition $node): void
->cannotBeEmpty()
->end()
->arrayNode('parameters')
- ->prototype('array')->end()
+ ->prototype('variable')->end()
->info('Add optional parameters to the route.')
->end()
->arrayNode('locales')
diff --git a/tests/Application/app/config/config.yml b/tests/Application/app/config/config.yml
index a7866ab5..27941955 100644
--- a/tests/Application/app/config/config.yml
+++ b/tests/Application/app/config/config.yml
@@ -12,6 +12,10 @@ imports:
- { resource: "../../../../vendor/sylius/sylius/app/config/security.yml" }
+sitemap:
+ static_routes:
+ - { route: sylius_shop_order_show, parameters: { tokenValue: fooToken } }
+
framework:
translator: { fallbacks: ["%locale%"] }
secret: "%secret"
diff --git a/tests/Responses/Expected/show_sitemap_all.xml b/tests/Responses/Expected/show_sitemap_all.xml
index 1ed07c91..90e4959b 100644
--- a/tests/Responses/Expected/show_sitemap_all.xml
+++ b/tests/Responses/Expected/show_sitemap_all.xml
@@ -39,4 +39,18 @@
weekly
0.3
+
+ http://localhost/en_US/order/fooToken
+
+
+ weekly
+ 0.3
+
+
+ http://localhost/nl_NL/order/fooToken
+
+
+ weekly
+ 0.3
+
\ No newline at end of file
diff --git a/tests/Responses/Expected/show_sitemap_all_relative.xml b/tests/Responses/Expected/show_sitemap_all_relative.xml
index c6d2232a..a6ea3c45 100644
--- a/tests/Responses/Expected/show_sitemap_all_relative.xml
+++ b/tests/Responses/Expected/show_sitemap_all_relative.xml
@@ -39,4 +39,18 @@
weekly
0.3
+
+ /en_US/order/fooToken
+
+
+ weekly
+ 0.3
+
+
+ /nl_NL/order/fooToken
+
+
+ weekly
+ 0.3
+
\ No newline at end of file
diff --git a/tests/Responses/Expected/show_sitemap_static.xml b/tests/Responses/Expected/show_sitemap_static.xml
index a76e2ea7..89616555 100644
--- a/tests/Responses/Expected/show_sitemap_static.xml
+++ b/tests/Responses/Expected/show_sitemap_static.xml
@@ -28,4 +28,18 @@
weekly
0.3
+
+ http://localhost/en_US/order/fooToken
+
+
+ weekly
+ 0.3
+
+
+ http://localhost/nl_NL/order/fooToken
+
+
+ weekly
+ 0.3
+