Skip to content

Commit

Permalink
refactor #912 [UI] Remove default override of _payment to allow using…
Browse files Browse the repository at this point in the history
… ui event (Jibbarth, GSadee)

This PR was merged into the 1.12 branch.

Discussion
----------

This follow up Sylius/Sylius#13817 and Sylius/PayPalPlugin#276 

I noticed that when installing refund plugin on a 1.12 version, I have both Refund functionnality from plugin and the native button under payment. 

The refund plugin disable the native button using sylius event, but with this template coming in standard, that has no effect. 

Let's remove it, and fully embrace the sylius ui event system 🤗 
The paypal customization has been backported in paypal plugin ui events.

Commits
-------

5af304e [UI] Remove default override of _payment to allow using ui event
185eb48 Bump up PayPalPlugin to the newest patch
  • Loading branch information
GSadee committed Apr 15, 2024
2 parents c117127 + 185eb48 commit 789d223
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"require": {
"php": "^8.0",
"sylius/paypal-plugin": "^1.5",
"sylius/paypal-plugin": "^1.5.2",
"sylius/sylius": "^1.12.11",
"symfony/dotenv": "^5.4 || ^6.4",
"symfony/runtime": "^5.4 || ^6.4",
Expand Down
46 changes: 0 additions & 46 deletions templates/bundles/SyliusAdminBundle/Order/Show/_payment.html.twig

This file was deleted.

0 comments on commit 789d223

Please sign in to comment.