Support » Plugin: WooCommerce Square » Change Labels, Placeholders and Remove Postal Code

  • Resolved patchwebdesign

    (@patchwebdesign)


    Hi

    I want to be able to edit the placeholders and labels for the Square payment form. Is this possible?

    Also, I am in Australia and the Postal Code field is not required here, can I remove this?

    Cheers
    Jonathan

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    Hey @patchwebdesign,

    Which version of the plugin are you using? Version 2+(which is no longer considered the stable version of the plugin) loaded the Square checkout form using an iFrame. This means that it can’t be modified on your Checkout page since it’s loaded from an external source.

    The labels for the 1.0.38 version of the plugin can be “translated” using localization, such as using a plugin named Loco Translate or manually using PoEdit.

    Thread Starter patchwebdesign

    (@patchwebdesign)

    Thanks Thomas, I am using 1.0.38, so I translated the labels using Loco Translate.

    Is there any way to remove the Postal Code field?

    Cheers
    Jonathan

    Plugin Support Mike a11n

    (@nixiack8)

    Hi @patchwebdesign,

    If you are looking to remove the Postal Code field from the checkout, there is a snippet you can place in your Functions.php file of your theme/child theme. The code is at this link.

    Thread Starter patchwebdesign

    (@patchwebdesign)

    Hi Mike

    Thanks for the response. I would like to remove the Postal Code field from the Card entry form, not the billing address form.

    Cheers
    Jonathan

    Plugin Support Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    Hey @patchwebdesign,

    The postal code field within the Square credit card form is loaded via an iFrame from Square’s servers; it cannot be removed.

    The plugin contains JavaScript which should copy the Checkout page billing postal code value to the Square credit card form, meaning that users shouldn’t have to fill it out provided the postal code is entered as part of the billing address.

    Plugin Support Mike a11n

    (@nixiack8)

    Hi @patchwebdesign,

    We have not heard back from you in a while, so I am going to go ahead and close this thread. If you are still experiencing issues please open a new thread and let us know.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Labels, Placeholders and Remove Postal Code’ is closed to new replies.