- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022
11:09 AM
02-10-2022
11:09 AM
Move Payment Error
I am trying to relocate the payment error when a payment is declined and having some difficulty. I am editing the layout checkout_index_index.xml and trying to add variations of the following:
<move element="page.messages" destination="after.body.start" after="global_notices"/>
It doesn't seem to move and failed payment errors continue to show at the top of the page instead of near the cta that caused the error. I have made other adjustments in checkout_index_index.xml to test and they are reflected properly. Should I be adding this move to a different layout or use a different syntax all together?
Labels: