Support » Plugin: WooCommerce » Moving payment method selection on top

  • Resolved anttituomola

    (@anttituomola)


    I have conditional fields on my cart page: different fields are shown based on the selected payment method. For example, if a customer wants to pay with an invoice, we ask for invoicing details. If a credit card is selected, then only the email is asked.

    Therefore I should ask the payment method first, on the top of the cart page. Any idea how can I move payment method selection on top of the page, before any additional fields?

    Thanks a lot for your help, I really appreciate it!

Viewing 1 replies (of 1 total)
  • Plugin Support kellymetal

    (@kellymetal)

    Hi there,

    This would depend somewhat on how you added those conditional fields to the Cart/Checkout page, since that is not a part of the core WooCommerce plugin.

    Also, the layout/positioning of the different elements on your page would be determined by the active theme on the site. Changing the order should be possible, but would require some customization, either with PHP code to remove the elements and add them in the desired location, or by overriding the template files. We have information about overriding template files available here:
    https://docs.woocommerce.com/document/template-structure/

    If you need assistance with coding or custom development, we recommend reaching out to a developer from one of the services at https://woocommerce.com/customizations/.

    It could also be worth reaching out to your theme developer to ask about this, as they may have a better/recommended method of doing what you are trying to do.

    I hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Moving payment method selection on top’ is closed to new replies.