-
Notifications
You must be signed in to change notification settings - Fork 7
Fix some issues to work in sylius 1.12 #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix some issues to work in sylius 1.12 #20
Conversation
| @@ -1,5 +1,3 @@ | |||
| {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/app.js'} %} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these lines should not be removed, but replaced with:
{{ encore_entry_script_tags('shop-entry', null, 'shop') }}There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we didn't need the shop javascript here. all the code is plain javascript here without dependencies.
But i can readd it if we need it.
| ```yaml | ||
| sylius_shop_checkout_start: | ||
| path: /{_locale}/checkout-start | ||
| path: / |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasn't needed for me
| { | ||
| return new Response( | ||
| $this->templating->render('BitBagSyliusAmazonPayPlugin:AmazonPay:amazonPayStart.html.twig') | ||
| $this->templating->render('@BitBagSyliusAmazonPayPlugin/AmazonPay/amazonPayStart.html.twig') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Why not merged? Still something to do? |
Hello,
i've tried to fix some issues which prevent the plugin to work in my sylius 1.12 environment.
I've removed the jquery dependency in amazonPayStart.html.twig to avoid loading of full Javascript Entrypoint.