• Resolved missbritt

    (@missbritt)


    Is it possible to move the Payment Gateway switcher to a different location on the page? For example, BEFORE the form, or at least before the submit button? It’s not intuitive where it’s placed now and is causing confusion for our members.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter missbritt

    (@missbritt)

    I figured this one out. For anyone else looking for it….

    In the mt-cart.php file

    look for “mt_gateways() .” on line 439

    I moved it before ” mt_required_fields( $cart ) . “\n” .”

    and added the “\n” to make sure the cart that followed the gateway switcher started on a new line. Process makes a lot more sense for our users now!

    • This reply was modified 6 years, 10 months ago by missbritt.
    Plugin Author Joe Dolson

    (@joedolson)

    I wouldn’t suggest doing it that way; in general, editing a plug-in is a problematic way to make changes, as your changes will be lost when you update the plug-in.

    This change would need to be made externally using JavaScript, detaching the gateway selector from the DOM and moving it to before the other fields.

    What you’ve done will work, but you’ll need to document what you did so you can repeat the update when you update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rearrange order of buttons on purchase page’ is closed to new replies.