=== Custom Add-to-Cart Text ===
Contributors: snehalpancholi
Tags: woocommerce, add to cart, button text, product, shop
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Change the WooCommerce "Add to cart" button label globally, per product, and per product category.

== Description ==

Custom Add-to-Cart Text lets you rename the WooCommerce add-to-cart button at three levels of granularity:

* **Global** — set a replacement label for all shop loop pages and all single product pages.
* **Per category** — override the global text for a specific product category.
* **Per product** — the highest priority; set a unique label for a single product.

Priority: product > category > global > WooCommerce default.

== Installation ==

1. Upload the `custom-add-to-cart-text` folder to `/wp-content/plugins/`.
2. Activate the plugin through **Plugins → Installed Plugins**.
3. Go to **WooCommerce → Cart Button Text** to set global labels.
4. Edit any product category to set a category-level override.
5. Edit any product and use the **Custom Cart Button Text** sidebar meta box.

== Frequently Asked Questions ==

= Does this work with variable products? =
Yes. The text filter applies to all product types including simple, variable, grouped, and external.

= Does the per-product text override the global setting? =
Yes. The order of priority is: product > category > global > default.

== Changelog ==

= 1.0.0 =
* Initial release.
