- Posts: 306
- Home
- Forum
- Community Forum
- Report bugs
- ROOMS MENU ERROR
- Forum
- Community Forum
- General discussions
- [RESOLVED] Override text for experience payment history 'title' field
[RESOLVED] Override text for experience payment history 'title' field
- Thellie
- Topic Author
- Offline
Less
More
1 week 1 day ago - 1 week 1 day ago #21133
by Thellie
[RESOLVED] Override text for experience payment history 'title' field was created by Thellie
Hi 
The payment row which is created when the Paypal process is completed inserts a rather long string of text into the 'title' field. I'd like to change this so it just inserts 'Deposit paid'.
I'm having trouble finding the correct file to create an override - could someone please let me know which is the relevant file?
Thanks
EDIT: I think I just found it: SR_EXPRESERVATION_CODE_PAID_AMOUNT_FORMAT
in the ../plugins/experiencepayment/paypal/paypal.php file
The payment row which is created when the Paypal process is completed inserts a rather long string of text into the 'title' field. I'd like to change this so it just inserts 'Deposit paid'.
I'm having trouble finding the correct file to create an override - could someone please let me know which is the relevant file?
Thanks
EDIT: I think I just found it: SR_EXPRESERVATION_CODE_PAID_AMOUNT_FORMAT
in the ../plugins/experiencepayment/paypal/paypal.php file
Last edit: 1 week 1 day ago by Thellie. Reason: Solved
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 3018
6 days 16 hours ago #21135
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic [RESOLVED] Override text for experience payment history 'title' field
Hi,
Thank you for your update, it is great to know that you resolved it.
Regards,
Thank you for your update, it is great to know that you resolved it.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- Thellie
- Topic Author
- Offline
Less
More
- Posts: 306
3 days 3 hours ago #21141
by Thellie
Replied by Thellie on topic [RESOLVED] Override text for experience payment history 'title' field
That was the wrong constant. It should have been:
SR_PAY_FOR_RESERVATION_CODE_AT_EXPERIENCE_FORMAT
Which is in:
./plugins/solidres/experience/language/en-GB/en-GB.plg_solidres_experience.ini
DON'T UPDATE THE ORIGINAL FILE SHOWN ABOVE. CREATE A LANGUAGE OVERRIDE USING JOOMLA'S BUILT-IN LANGUAGE OVERRIDE COMPONENT, FOUND IN:
Administrator/System/Language Overrrides
SR_PAY_FOR_RESERVATION_CODE_AT_EXPERIENCE_FORMAT
Which is in:
./plugins/solidres/experience/language/en-GB/en-GB.plg_solidres_experience.ini
DON'T UPDATE THE ORIGINAL FILE SHOWN ABOVE. CREATE A LANGUAGE OVERRIDE USING JOOMLA'S BUILT-IN LANGUAGE OVERRIDE COMPONENT, FOUND IN:
Administrator/System/Language Overrrides
Please Log in or Create an account to join the conversation.
Moderators: solidres