How to customize the payment method names in Shopify checkout
If you wish, you can change the name displayed for Mercado Pago payment methods in your Shopify store's checkout.
Below you can see how to perform this process for Mercado Pago Tarjetas (Checkout API) and Mercado Pago Checkout Pro.
Mercado Pago Tarjetas (Checkout API)
It is possible to customize the name displayed for payment methods in Mercado Pago Tarjetas through the translation of Themes. This method will allow you to modify texts such as "Credit Card" to "Credit or Debit Card" and is available in all Shopify accounts.
To make this change, follow the steps below.
- In your Shopify admin panel, go to Online Store > Themes.
- In your current theme, click the three dots button (...) and select Edit default theme content.
- Navigate to the Checkout and system section.
- Use the search bar to find the text you want to change. For example, search for "Credit card label" in the Checkout payment gateway section.
- Modify the text to the one you want to display (for example: "Credit or Debit Card").
- Click Save.
Mercado Pago Checkout Pro
In this case, customizing the name requires the use of Shopify Functions, a feature available only for stores with the Shopify Plus plan.
Although it is possible to make this change through a custom implementation, we recommend using Shopify Checkout Blocks, the application designed by Shopify to customize checkouts.
To make this customization using Checkout Blocks, follow the steps below.
- In the Shopify admin panel, go to Apps > Checkout Blocks.
- Click on Functions and then on Create function.
- In the Payment methods section, click on Rename.
- Assign a name to the payment method for internal control.
- In Renamed payment methods, click on + Add payment method and complete the fields:
- In the From field, select the payment method you want to rename (for example, "Mercado Pago Checkout Pro").
- In the To field, enter the new name you want to display to your customers.
- Click Save.