Questions about Payment Form extension

Payment methods/fees re-order

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #151039 by Alexander
Payment methods/fees re-order was created by Alexander
Hello,

I need to display the payment methods before the total amount, fee and gross. It's more logical this way. Is there a quick way to do it?

Thank you!

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #151040 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment methods/fees re-order
Hello

This is unfortunately, not configurable. So you need to modify the form layout if you want to re-order these items

What layout you are using? If you are using default layout for example, you need to modify code in the file components/com_pmform/View/Form/tmpl/default.php

Please let me know if you need more help

Tuan

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #151042 by Alexander
Replied by Alexander on topic Payment methods/fees re-order
Ok. I managed to edit the file you mentioned and re-order them.

Thank you.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #151046 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment methods/fees re-order
Great. Please remember to move the modified file to PATH_TO_TEMPLATE/html/com_pmform/Form folder so that the change won't be lost when you update to future releases of the extension

PATH_TO_TEMPLATE is path to the template which you are using on your site

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc