Okay
  Public Ticket #2579012
Renaming On-Site payment method
Closed

Comments

  •  2
    Mr Peter Gosling started the conversation

    Hi

    My client would like to add another payment option or rename "On-Site" payment method to be, "Bank transfer" or "Payment before appointment" for example

    Is there a hook I can add to add in a new payment method that is like On-Site in that doesn't take payment via the website.
    Or clean way to edit "On-Site" without changing in the plugin and guess would get overwritten in future updates back to "On-Site"


    Thankyou

  • [deleted] replied

    Hello Mr Peter Gosling,

    There isn't a possibility of adding another payment option to Amelia, unfortunately. 

    You can rename the On-site string to some other string that you want by using some translation tool. Strings can be changed using POEDIT or Loco Translate for example. If you want to use POEDIT then this is the instruction:

    1. Download Amelia from TMS Store

    2. Unzip the downloaded file.

    3. Download and install POEDIT

    4. Open the program and open the file from the extracted folder on your computer ameliabooking/languages/en_US/wpamelia-en_US.po.

    5. Change the strings you want.

    6. Save the translation.

    7. Go to ameliabooking/languages/en_US/ folder and copy these two files - wpamelia-en_US.po and wpamelia-en_US.mo back to your website to the location ../wp-content/plugins/ameliabooking/languages/en_US/.

    Please note that this change will be overridden when you update the plugin, so you would need to apply the change after each update.