Linux 软件免费装
Banner图

Bmnh Add to Cart Text Changer for WooCommerce

开发者 bmnazmul
更新时间 2026年2月23日 00:22
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

button woocommerce add to cart change add to cart text custom cart button

下载

1.0.3 1.0 1.0.1 1.0.2

详情介绍:

Bmnh Add to Cart Text Changer is the ultimate lightweight solution to customize your WooCommerce "Add to Cart" buttons without writing a single line of code. Whether you want to change the text to "Buy Now," "Order Today," or translate it into your local language, this plugin gives you full control directly from your WordPress dashboard. Beyond just text, this plugin offers a comprehensive design suite to make your buttons visually striking and perfectly aligned with your brand’s identity. 🚀 Key Features: Custom Labels by Product Type: Set unique button text for Simple, Variable, External, Grouped, and even Subscription or Bookable products. Contextual Text Options: Use different button labels for the Shop/Archive pages versus Single Product pages for better conversion. Complete Styling Control: Easily modify Text Color and Background Color to match your theme. Interactive Hover Effects: Capture user attention with custom Hover Colors for both text and background. Professional Typography: Adjust the Font Size (px) to ensure your call-to-action is clear and readable. Flexible Layouts: Fine-tune your button’s look with Border Radius (for rounded corners) and Padding (for a perfect fit). Performance Focused: Extremely lightweight and clean code—ensures your site stays lightning-fast. Beginner Friendly: A dedicated settings panel means no more messing around with functions.php files. 🎯 Why Use This Plugin? Generic "Add to Cart" buttons can sometimes feel robotic. By using more urgent or descriptive labels like "Grab Yours Now" or "Join the Club," you can significantly improve your click-through rates and store sales.

安装:

  1. Upload the 'bmnh-add-to-cart-text-change' folder to the '/wp-content/plugins/' directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. The plugin replaces button text using its built-in defaults. To customize the text, see the FAQ/Usage section below.

升级注意事项:

1.0.2 Initial stable release with settings framework support.

常见问题:

How do I change the default button text?

You can change the default text in two ways:

  1. Add filters in your theme's functions.php (recommended, upgrade-safe): ```php // Change archive/shop add-to-cart text add_filter( 'woocommerce_product_add_to_cart_text', function() { return 'Buy Now'; } );
// Change single product add-to-cart text add_filter( 'woocommerce_product_single_add_to_cart_text', function() { return 'Order Today'; } ); ```
  1. Edit the plugin files directly (not recommended for upgrades).

Can I change the label per product or per category?

Yes — not in a UI, but you can add conditional logic inside the filter callbacks and check product/category to return different labels.

Will this work with my theme and other WooCommerce plugins?

Yes — the plugin uses standard WooCommerce filters. If another plugin or your theme overrides the same filters at a later priority, adjust the priority or add your filter with a later priority.

更新日志:

1.0.2 1.0.1