Change ‘surcharge’ label at checkout

Trouble updating AdRotate Professional to the latest version?

If your license is not expired and you are having trouble with updates for AdRotate Professional I want to hear from you!
Known issues; The update will not install or no update is visible in your dashboard.
Affected versions; Most versions of AdRotate Professional since December 2019.

Click here for the solution - AdRotate Pro update not working or not offered.

Home Forums WooCommerce Plugins Change ‘surcharge’ label at checkout

  • #102473

    Cy Messenger
    Badges:

    Hi there,

    Is there a way to customise the ‘surcharge’ label in the checkout – using WooCommerce Stripe Surcharge plugin.

    Cheers.

    #102501

    Arnan de Gans
    Badges:

    There is no dashboard setting for it, but you can rephrase things using the Translation/POT file in the language folder.

    #102539

    Cy Messenger
    Badges:

    Hi Arnan,

    Thanks for coming back to me. I have tried updating the .pot file but nothing is reflected on the website. I notice that the language strings are referring to the paypal file, this is the string that I am trying to update.

    #: woocommerce-paypal-surcharge.php:100
    msgid "Surcharge"
    msgstr ""

    I have changed the filename to woocommerce-stripe-surcharge.php, the php line to 101 and updated the
    string, but it doesn’t seem to work.

    #: woocommerce-stripe-surcharge.php:101
    msgid "Processing  fee"
    msgstr ""

    Are you able to elaborate on how I can achieve this?

    Thank you in advance.

    #102591

    Arnan de Gans
    Badges:

    A pot file is a source/base file for creating a translation. You’ll also see a file with nl_NL in the name, that’s the dutch translation.

    With a program like Poedit you can open and start a new translation. The translated phrases are of your choosing. So you can ‘cheat’ a little by rephrasing things to your liking in a english to english translation.

    #102644

    Cy Messenger
    Badges:

    Hi Arnan,

    Thanks for that. I couldn’t get it working though, even using the Loco Translate plugin.

    Cheers,

    #102668

    Arnan de Gans
    Badges:

    Hmm, maybe I’ll add a option to change the string in a future version.

    #102681

    Cy Messenger
    Badges:

    That would be awesome!

    #104679

    Arnan de Gans
    Badges:

    In the next version, almost ready, the label for ‘Surcharge’ will be configurable.
    Keep an eye out for that this or next week.

    #106270

    Joe Mahony
    Badges:

    Hi. I’m using the new version and setting the label as “Surcharge”, but the label in the checkout is whatever number I’m using for the percentage. E.g. I chose 3% as the surcharge amount and the checkout label says 3 instead of what I put in the label field.

    I’m using Stripe Credit Card payment.

    #106290

    Arnan de Gans
    Badges:

    Hi Joe, it looks like the amount is used as the label.
    I’ll update it later today. Thanks for your report 🥳

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

You may be interested in