Okay
  Public Ticket #3664726
Stripe Label
Closed

Comments

  • Igor started the conversation

    Hello,

    I tried to change the stripe label but its not working even when I setup as default payment as Stripe. How can I change the stripe label on events and on step booking form?

  •  1,501
    Uroš replied

    Hello Igor,

    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 needs 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 the 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", and "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).

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

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

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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