Add to Cart Button Custom Text

描述

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.

屏幕截图

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

安装

自动安装

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.

手动安装

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.

常见问题

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.

评价

2021年5月4日
Does what it promisses. Thank You for that! Hoping you will support this usefull snippet for a long tme .-)
2020年9月16日
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.
2020年6月28日
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
2020年4月1日
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.
阅读所有11条评价

贡献者及开发者

“Add to Cart Button Custom Text” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Add to Cart Button Custom Text”插件已被翻译至5种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Add to Cart Button Custom Text”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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

  • Initial release