File tree Expand file tree Collapse file tree 4 files changed +19
-10
lines changed
Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,23 @@ bitbag_sylius_wishlist_plugin:
4242 resource: "@BitBagSyliusWishlistPlugin/Resources/config/routing.yml"
4343` ` `
4444
45- 5. Clear application cache by using command :
45+ 5. Override `OrderItemController`
46+ ` ` ` yaml
47+ sylius_order:
48+ resources:
49+ order_item:
50+ classes:
51+ controller: BitBag\S yliusWishlistPlugin\C ontroller\O rderItemController
52+
53+ ` ` `
54+
55+ 6. Clear application cache by using command :
4656
4757` ` ` bash
4858$ bin/console cache:clear
4959` ` `
5060
51- 6 . Update your database
61+ 7 . Update your database
5262
5363First, please run legacy-versioned migrations by using command :
5464
@@ -71,14 +81,14 @@ $ bin/console doctrine:migrations:migrate
7181$ bin/console doctrine:migrations:version BitBag\\ SyliusWishlistPlugin\\ Migrations\\ Version20201029161558 --add --no-interaction
7282` ` `
7383
74- 7 . Please add plugin templates into your project :
84+ 8 . Please add plugin templates into your project :
7585` ` ` bash
7686$ cp -R vendor/bitbag/wishlist-plugin/tests/Application/templates/bundles/SyliusShopBundle/Product templates/bundles/SyliusShopBundle
7787$ cp vendor/bitbag/wishlist-plugin/tests/Application/templates/bundles/SyliusShopBundle/_header.html.twig templates/bundles/SyliusShopBundle
7888$ cp vendor/bitbag/wishlist-plugin/tests/Application/templates/bundles/SyliusShopBundle/_logo.html.twig templates/bundles/SyliusShopBundle
7989` ` `
8090
81- 8 . Add plugin assets to your project
91+ 9 . Add plugin assets to your project
8292
8393We recommend you to use Webpack (Encore), for which we have prepared four different instructions on how to add this plugin's assets to your project :
8494
Original file line number Diff line number Diff line change 11imports :
22 - { resource: "@BitBagSyliusWishlistPlugin/Resources/config/services.xml" }
3- - { resource: "@BitBagSyliusWishlistPlugin/Resources/config/resources.yml" }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ sylius_order :
2+ resources :
3+ order_item :
4+ classes :
5+ controller : BitBag\SyliusWishlistPlugin\Controller\OrderItemController
You can’t perform that action at this time.
0 commit comments