Wtyczka nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa. Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością z nowszymi wersjami WordPressa.

Custom Add to Cart labels for WooCommerce

Opis

This plugin lets you customize the “add to cart” button labels on single product pages (per product type) and also on archive/shop page (per product type)

Single products

  • Simple products
  • Variable products
  • Grouped products
  • External products
  • Bookable products
  • Subscription products

Archive pages

  • Simple products
  • Variable products
  • Grouped products
  • External products
  • Bookable products
  • Subscription products

Features

  • Compatible with latest WooCommerce (3.0.0 and up)
  • Supports ASCII special characters in labels
  • Supports Unicode characters in labels
  • Supports HTML5 characters in labels
  • Supports Emojis in labels (http://getemoji.com/ and http://www.copypastecharacter.com/emojis)

Zrzuty ekranu

  • Settings
  • Shop page
  • Single product page

Instalacja

  1. Download the plugin & install it to your wp-content/plugins folder (or use the Plugins menu through the WordPress Administration section)
  2. Activate the plugin
  3. Navigate to ** WooCommerce > Settings > Products > Change “add to cart” labels **.
  4. Customise your labels.
  5. Save and enjoy!

Najczęściej zadawane pytania

Q: How do I use special characters / emojis in my label?

A: Copy / paste them into the label field

Q: Where can I find emojis to use in my label?

A: See: Getemoji and Copypastecharacter

Q: Where can I go if I find an issue or want to recommend a feature?

A: You can submit a issues / feature requests on the Public GitHub Repository.

Recenzje

2021-05-16
Thank you soc much guys, this works perfectly fine for me, I am using Storefront btw. So much easier than tinkering with the functions file. Thank you Louise 🙂
2020-06-21
Updated for WooCommerce v4.2.0 and working! Added support for variable subscriptions, too.
2020-06-17
It works as advertised and is extremely easy to use. Must have for customizing text especially if you do not want to fiddle with the code.
2019-04-26
I added this plugin after some custom functions got deprecated by woocommerce update. Would be much cool if could change 'Add to Cart’ depending if something is is Virtual / Downloadable or by Product Category – These are the distinctions that would really make the site seem more human friendly.
Przeczytaj 15 recenzji

Kontrybutorzy i deweloperzy

„Custom Add to Cart labels for WooCommerce” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Rejestr zmian

1.0

  • first release

1.1

  • added support for bookable products

1.3

  • Added support for subscription and subscription variable products
  • Fixed Call to a member function get_type() on null issue with Gutenberg

1.4.0

  • Reverted back to prior working release.
  • For product types that aren’t explicitly supported or don’t have custom settings defined, the plugin now falls back to the default WooCommerce add-to-cart text.
  • Implemented distinct filters and callback functions for single product pages and archive/shop (loop) pages, ensuring that each context can have its own custom label configuration.

1.4.1

  • Updated display name from WC Custom Add to Cart labels to Custom Add to Cart labels for WooCommerce to remove trademark implications.
  • Bumped plugin version from 1.4.0 to 1.4.1 and added new header fields:
  • Updated all internationalization calls to use the correct text domain wc-custom-add-to-cart-labels.
  • Renamed callback functions for add-to-cart text from generic names (e.g., custom_woocommerce_product_single_add_to_cart_text) to unique prefixed names (wccatcl_product_single_add_to_cart_text and wccatcl_product_loop_add_to_cart_text) to avoid conflicts.

1.5.1

  • Updated plugin name

1.5.2

  • Changed plugin ownership

1.5.3

  • Tested up to WordPress 6.8 and WooCommerce 10.0