Skip to content

Commit c7771e8

Browse files
committed
Add upgrade guide
1 parent 6ca1e31 commit c7771e8

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
4. Import the routes needed for cancelling the payments. Add the following to your config/routes.yaml file:
3030
```yaml
3131
webgriffe_sylius_elasticsearch_plugin:
32-
resource: "@WebgriffeSyliusElasticsearchPlugin/config/shop_routing.php"
32+
resource: "@WebgriffeSyliusElasticsearchPlugin/config/routes/shop.php"
3333
```
3434
**NB:** if you have locales prefix enabled you should prefix import with that.
3535

UPGRADE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Upgrade plugin guide
2+
3+
## Upgrade from version 06.x to 1.x
4+
5+
In this version, we have updated the plugin to be compatible with version 2 of Sylius.
6+
7+
- The route `@WebgriffeSyliusElasticsearchPlugin/config/shop_routing.php` has been renamed to `@WebgriffeSyliusElasticsearchPlugin/config/routes/shop.php`.
8+
- The frontend has been restructured to follow Sylius 2.x conventions with Twig hooks. Please refer to the Sylius 2.x documentation for guidance on customizing templates using Twig hooks.

0 commit comments

Comments
 (0)