Customization of Payment Request Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #895689
    AM Realty
    Participant

    Hello,

    How can we customize the content generated by the [mphb_payment_request_checkout] short code?

    For example, we want to:

    1) Add Reserved Accommodations Details in the Booking Details block

    2) Change the “Submit Payment” button to “Proceed to Checkout”

    3) Hide the Payment Method block if only one payment method is active on the site

    I would appreciate it if you could let us know which files control this content and how we can edit it. Thank you!

    #896543
    Steve
    Keymaster

    Hello AM Realty,

    To customize the content generated by the [mphb_payment_request_checkout] shortcode follow these steps:
    1. Create a new folder in your theme and name it hotel-booking.
    2. Copy folder shortcodes located in /mphb-request-payment/templates/ to previously created hotel-booking folder.
    3. Open file /YOUR-THEME/hotel-booking/shortcodes/payment-request-checkout/checkout-form.php in editor. You will find form, submit button and several actions you can override to modify this form.

    Let me know if it helps.

    • This reply was modified 4 years, 9 months ago by Steve.
    • This reply was modified 4 years, 9 months ago by Steve.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.