Add to Cart Button Custom Text

Descripció

This plugin allows you to change the Add to cart text shown on the button used to buy a product in WooCommerce. You will be able to use different custom texts for:

Single product page:

  • Simple product (default: Add to cart)
  • External/Affiliate product (default: Buy product)
  • Grouped product (default: Add to cart)
  • Variable product (default: Add to cart)
  • Bookable product (WooCommerce Bookings) (default: Book now)

Archive pages (shop, category, tags…):

  • Simple product (default: Add to cart)
  • External/Affiliate product (default: Buy product)
  • Grouped product (default: View products)
  • Variable product (default: Select options)
  • Bookable product (WooCommerce Bookings) (default: Book now)

So you could choose up to ten different texts as per the type of product and the place it’s displayed. Just activate it and go to Settings > Add to Cart Button to choose your preferences. Default WooCommerce texts are used for default configuration. ASCII emojis are supported.

Supports bookable products provided by the WooCommerce Bookings plugin.

Spanish and catalan translations are available. Other translation contributions are welcome. Visit me on my web.

Thanks to JuanKa Diaz for the catalan translation.

Captures

  • Add to cart button with creative custom text (including some ASCII emojis)
  • Options page in Settings > Add to Cart Button

Instal·lació

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add new.

In the search field type Add to Cart Button Custom Text and click Install now.

Manual installation

The manual installation method involves downloading this plugin and uploading it to your webserver via your favorite FTP application or by using the Upload plugin option in the Add plugin section in your WordPress dashboard. The WordPress codex contains instructions on how to do this here.

PMF

Is the plugin compatible with HPOS?

Yes, it is

Can I use HTML tags in the button text?

No, that isn’t supported

How can I put emojis in the button text?

Just copy them from somewhere and paste into the option

Some texts in the settings page are displayed in my language, but some others aren’t

Most of the texts used are translated by the translations files of WooCommerce. Some of them aren’t, so you’ll see them in English.

May I contribute to the plugin?

Yes, you can translate it into your language. They’re just a few sentences.

Ressenyes

1 de octubre de 2021
Lo encontré en los resultados de Youtube, vi el video y me animé a instalarlo, todo salio como esperaba, el cambio estuvo en menos de 1 minuto. Recomendado.
4 de maig de 2021
Does what it promisses. Thank You for that! Hoping you will support this usefull snippet for a long tme .-)
16 de setembre de 2020 1 resposta
Se dice que se puede cambiar el texto de los productos que permiten reserva pero no es verdad. Cuando esto sea posible le daré 5 estrellas.
28 de juny de 2020
Quiza como ya hace tiempo no lo actualizan dejó de funcionar pero no hubo manera de echarlo a andar. Una pena porque no encuentro solución para cambiar el texto del botón
1 de abril de 2020
Rapido, funcional, Ligero y hace lo que promete. Lo recomiendo en todos mi proyectos para clientes que necesitan hacer cambios ágiles en su Ecommerce para adaptarse a estrategias de marketing relacionados con los botones del comercio (comprar, obtener, contratar, adquirir, etc). 5 estrellas.
Llegiu totes les 13 ressenyes

Col·laboradors i desenvolupadors

«Add to Cart Button Custom Text» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

“Add to Cart Button Custom Text” s'ha traduït a 5 configuracions regionals. Gràcies als traductors per les seves aportacions.

Traduïu «Add to Cart Button Custom Text» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

4.0.0

  • Support for upcoming WooCommerce 8 feature HPOS (beta)
  • Support for WooCommerce 7.8
  • Warnings for creation of dynamic properties in PHP8.2+ are prevented

3.1.1

  • Support for WordPress 6.3
  • Support for WooCommerce 7.6

3.1.0

  • Fix warnings for creation of dynamic properties in PHP8.2+
  • Support for WooCommerce 7.5
  • Bump minimum PHP required version to 7.4

3.0.7

  • Support for WordPress 6.2
  • Support for WooCommerce 7.3
  • Bump minimum PHP required version to 7.3

3.0.6

  • Support for WordPress 5.9
  • Support for WooCommerce 5.9

3.0.5

  • Fixed a warning

3.0.4

  • Support for WordPress 5.8
  • Support for WooCommerce 5.3

3.0.3

  • Fixed a warning in options page
  • Support for WooCommerce 5.2

3.0.2

  • Fixed some warnings
  • Added missing loco.xml file
  • Support for WooCommerce 5.1

3.0.1

  • Fixed bookable product button text issue

3.0.0

  • Settings are stored as an array
  • Improved performance on init
  • Added PHP required version header
  • Added loco.xml file for Loco Translate auto setup
  • Added wpml-config.xml for admin texts auto setup in WPML
  • Book Now default label was not translated properly
  • Support for WordPress 5.7
  • Support for WooCommerce 5.0

2.3.0

  • Prevents a fatal error in WooCommerce Blocks
  • Improved locale check system
  • Plugin tested on WooCommerce 3.8
  • Plugin tested on WordPress 5.3.1-alpha

2.2.0

  • A help message is shown on the plugin activation
  • Applied a singleton pattern to the main class
  • All methods have now a declared scoop
  • Other minor code improvements
  • Plugin tested on WooCommerce 3.6
  • Plugin tested on WordPress 5.2

2.1.1

  • Minor code improvements

2.1.0

  • Complete rebuild of the code to make it more efficient

2.0.1

  • New version check support for WooCommerce 3.2
  • Tanslations updated
  • Minor code improvements

2.0.0

  • Changed deprecated method to get the product type in WooCommerce
  • Added availability to change the “Book now” text in product page for bookable products
  • More effective loading system for translations
  • Checked compatibility with WordPress 4.8
  • Several code improvements

1.3.3

  • Improved check if WooCommerce Bookings is active

1.3.2

  • Code improvements

1.3

  • Catalan language added

1.2

  • Clean uninstall (delete options from database on uninstall)

1.1

  • Added compatibility with WooCommerce <2.1
  • Added support for bookable products on archive pages

1.0

  • Versió inicial