Categories

Featured templates

Jigoshop. How to change “Add to cart” button text

Norman Fisher June 30, 2014
Rating: 5.0/5. From 3 votes.
Please wait...

This tutorial is going to show you how to change the "Add to Cart" button text on your Jigoshop template.

Jigoshop. How to change “Add to cart” button text

To change the "Add to Cart" button text by updating the existing language translations

  1. Download and install Poedit editor from http://poedit.net/download.php on your computer.

  2. Once it is installed,  double click the application to launch it.

  3. Click Open in Poedit and navigate to the .po file that you’d like to update. The file is located under the wp-content/plugins/jigoshop/languages folder on your FTP. So you will first need to download it on your computer in order to make the changes. In this tutorial, we’ll use jigoshop-es_ES.po, the Spanish translation.

    jigoshop_add_to_cart_button_text_changing_1

  4. Go to Catalog > Update from POT File, and select the jigoshop.pot file.

    jigoshop_add_to_cart_button_text_changing_2

    You can find the jigoshop.pot file in two places:

  • Locate in wp-content\plugins\jigoshop\languages\jigoshop.pot;

  • Download online from our Github.

  • Now you’ll see an update summary showing you all the new and obsolete strings. Hit OK to delete the old strings and add new ones.

    jigoshop_add_to_cart_button_text_changing_3

  • Start translating! Hit Ctrl + F  and look for "Add to Cart". Then change your translation variant in  the Translation field.

    jigoshop_add_to_cart_button_text_changing_4

  • Click Save when you are done.

  • The updated language .po and .mo files (E.g. jigoshop-es_ES.po/jigoshop-es_ES.mo) should be uploaded back to the /wp-content/plugins/jigoshop/languages/ folder on your server using your favorite FTP client.

  •  Open the category page of your site to check if the text is translated.

    jigoshop_add_to_cart_button_text_changing_5

  • To change the "Add to Cart" button text by uploading new language translations to your site

    1. On your FTP, open the wp_config.php file located in the root directory to edit.

    2. Search for define(‘WPLANG’, ”);, change its second argument to your locale (e.g., es_MX) and save the changes.

    3. Open one of your existing .po files in Poedt, change the name of the "Add to Cart" button,  save it  under the File -> Save as menu as jigoshop-es_MX.po on your computer. Then upload  the new language .po and .mo files to your WordPress Jigoshop language directory: /wp-content/plugins/jigoshop/languages/.

    4. Make sure that your new language Jigoshop .po and .mo files follow the language files name pattern like for e.g. the Spanish-Mexican  translation:  jigoshop-es_MX.po / jigoshop-es_MX.mo.

    5. Open the category page of your site to check if the text is translated.

    Feel free to check the detailed video tutorial below:

    Jigoshop. How to change “Add to cart” button text

    HTML Templates for Wordpress
    This entry was posted in Jigoshop Tutorials and tagged add, button, cart, change, title, to, translate. Bookmark the permalink.

    Submit a ticket

    If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket