How to hide the Price breakdown on the payment request page?

  • This topic has 6 replies, 4 voices, and was last updated 1 month ago by J. Davis.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1311629

    Hi!!
    I would like to eliminate the “Price breakdown” module at payment request template, and only show “reservation details”, “payment history” and “payment method”, is it possible? How can do it?
    It even show the titles in English, and the rest of text is in Spanish, wich is our main language, how can we change it?
    Thanks in advanced!
    Mario.

    #1312097

    Hello Mario,

    I believe that you can hide the Price Breakdown section by commenting out the lines below in the file CheckoutShortcode.php located at /wp-content/plugins/mphb-request-payment/classes/Shortcodes

    add_action('mphb_sc_payment_request_checkout-form', array($this, 'printPriceBreakdown'), 20, 1);

    and

    remove_action('mphb_sc_payment_request_checkout-form', array($this, 'printPriceBreakdown'), 20);

    This should suppress those sections from being called when the page loads. Note that these changes will be overwritten every time the Request Payments Plugin is updated. Good luck!

    #1312744

    Hi,

    Thanks for your question. You may apply custom CSS style to hide the Price Breakdown on the Payment Request page:

    .mphb_sc_payment_request_checkout-wrapper .mphb-room-price-breakdown-wrapper.mphb-checkout-section{
    display:none;
    }

    You may add it to Appearance > Customize > Additional CSS

    best regards,
    J. Davis

    #1312897

    Done!!! Thank you so much!

    #1314730

    Hi Mario,

    You are welcome. We would highly appreciate it if you rate Payment Request addon https://motopress.com/products/hotel-booking-payment-request/#reviews

    best regards,
    J. Davis

    #1740314

    Hello,

    Is there a way to hide in the payment page the deposit the customer has paid to book ?

    In the payment tab, the dates are in english (15 March 2025): is it possible to display them in french (the other dates on the payment page, for example check in & out are in french format : 15 Mars 2025) ?
    Or to display with dd/mm/yy format ?

    Thanks

    Regards

    #1743814

    Hi Xavier,
    We have replicated the case with the transaction date on the page of the Payment Request. I’ve delivered it to our developers. We will notify you when we have any news.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.