Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Hotel Booking Payment Request How to hide the Price breakdown on the payment request page?
- This topic has 5 replies, 4 voices, and was last updated 10 hours, 12 minutes ago by
Xavier ANGLES.
- AuthorPosts
- May 31, 2022 at 1:52 pm #1311629
Mario Mata
ParticipantHi!!
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.June 1, 2022 at 9:38 am #1312097AM Realty
ParticipantHello 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!
June 3, 2022 at 1:22 am #1312744J. Davis
KeymasterHi,
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. DavisJune 3, 2022 at 4:55 am #1312897Mario Mata
ParticipantDone!!! Thank you so much!
June 7, 2022 at 11:33 pm #1314730J. Davis
KeymasterHi 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. DavisMarch 13, 2025 at 3:50 pm #1740314Xavier ANGLES
ParticipantHello,
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
- AuthorPosts
- You must be logged in to reply to this topic.