Go back button in review step gets misplaced by PayPal smart payment buttons

Created on 14 August 2023, over 1 year ago
Updated 18 August 2023, over 1 year ago

I'm using a custom checkout flow using the multistep checkout flow plugin and added Paypal checkout later. On the order information step the "Continue to review" button is rendered inside div.layout-region-checkout-footer and thus gets a bottom margin. But on the review step the "Go back" button/link is rendered after the div.paypal-buttons-container inside the div.layout-checkout-form instead and thus has no bottom margin. This produces some really ugly UI as it directly sticks to the page footer which has a different background.

The "Go back" button is created as suffix of the next action instead of being an own action, which looks really strange to me. And the commerce_paypal module assign it as suffix of it's smart payment buttons form element (causing the misplacement).

How can I place the "Go back" on all steps where it shows inside the div.layout-region-checkout-footer like the next action buttons?

💬 Support request
Status

Closed: won't fix

Version

2.36

Component

Checkout

Created by

🇦🇹Austria mvonfrie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mvonfrie
  • Status changed to Closed: won't fix over 1 year ago
  • 🇮🇱Israel jsacksick

    With the abundance of support available in Drupal Answers, the Drupal focused Stack Exchange site, we are no longer answering support requests in the issue queue.

    Support requests opened here will be closed (won't fix), so please search for existing answers or post new questions at:

    https://drupal.stackexchange.com (using the drupal-commerce tag)

Production build 0.71.5 2024