Okay
  Public Ticket #3021960
On Site
Closed

Comments

  • Michael started the conversation

    Hello, I would like to set up an invoice, but the page says On Site and not invoice. My customers don't understand On Site in German. How can I change this?

  •  1,608
    Marko replied

    Hello ,

    Thank you for reaching out to us.

    Amelia has no option for invoice, on site is used as a way to describe the payment made in person. But you can change the text to something else.

    The images for payments on the front-end can be changed in /wp-content/plugins/ameliabooking/public/img/payments/icons/ and /wp-content/plugins/ameliabooking/public/img/payments/ folders. Keep in mind that the size of images need to stay the same, along with the name of the image file. Also, until we include this as a customization option in Amelia/Customize, you will need to do this every time the plugin updates.

    As for the text below icons, it is possible to change this now, but it's not a perfect solution.

    You need to go to ameliabooking/public/js/chunks/ folder and open the file that looks like this:

    amelia-booking-booking-e699bcfa2244b52e0818.js

    The hash may be different, so if it's not "e699bcfa2244b52e0818" it is something else, it's important to look for amelia-booking-booking-hash.js

    When you edit this file, look for "On-Site", "Paypal", "Stripe", "Online" (case sensitive), and you'll see this:

    case"paypal":return"Paypal";case"stripe":return"Stripe";case"onsite":return"On-Site";case"mollie":return"Online"
    

    You can change all values in quotations, after "return" and it will change on the front-end, so for example, change:

    return"On-Site"

    To:

    return"Invoice"

    And so on. Our developers are working on a more elegant solution, but at this time, it's the best one we can offer.

    The file I told you to modify is the step-by-step [ameliabooking] form, so if you're using [ameliacatalog], you'd need to change a different file (same folder, only amelia-booking-catalog-hash.js).

    Hope this works for you.

    If you have any more questions please feel free to open another ticket.

    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Francesco Pizzolante replied

    Hi, I've followed your guide, it's all ok but the image change only in the backend, not in frontend! Ideas?

    I've attached an image that explain that.

    Many thanks


  •  1,608
    Marko replied

    Hello Francesco,

    We may not see the best in the picture, but it seems to us that it has been successfully changed on the front on to studio/bonfic that it is a picture of a frontend icon.

    This solution has also been tested and successfully implemented by customers many times, if you have followed in detail, you should have succeeded (it seems to us that it has succeeded from what we can see).

    In case it failed please open your ticket in the Amelia category and write to us there and we will gladly help you there.

    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables