描述
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)
安装
- Download the plugin & install it to your
wp-content/pluginsfolder (or use the Plugins menu through the WordPress Administration section) - Activate the plugin
- Navigate to ** WooCommerce > Settings > Products > Change “add to cart” labels **.
- Customise your labels.
- Save and enjoy!
常见问题
-
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.
评价
2021 年 5 月 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 年 11 月 12 日
Nothing else needed. Does EXACTLY what it says it does. That’s what I like in a plugin and deserves 5 stars
2020 年 6 月 21 日
Updated for WooCommerce v4.2.0 and working! Added support for variable subscriptions, too.
2020 年 6 月 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 年 5 月 19 日
This WOULD be cool except it also changes the button on the Related Products below the main product… deal killer 🙁
2019 年 4 月 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.
贡献者及开发者
更新日志
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



