---
title: How to Change the Add to Cart Button Text in WooCommerce
description: "Change the Add to Cart button text in WooCommerce without code or template edits: one label for everything, or targeted by product, role and more."
url: "https://wpfactory.com/docs/custom-add-to-cart-buttons/"
updated: "2026-09-27"
category: How to
tags:
  - Customize Add to Cart Button Text for WooCommerce
---

# How to Change the Add to Cart Button Text in WooCommerce

To change the Add to Cart button text in WooCommerce, install [Change Add to Cart Button Text for WooCommerce](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/), go to **WPFactory > Add to Cart Button Labels > All Products**, tick **Enable section**, type your new wording and save. It works on single product and shop pages, with no code or template edits.

## How the text change works

Add to Cart Button Labels filters the two texts WooCommerce prints: the single product page button (`woocommerce_product_single_add_to_cart_text`) and the shop, category and archive button (`woocommerce_product_add_to_cart_text`). Because it only replaces the text, your theme keeps its button styling, and the button still adds the product to the cart exactly as before.

## The quickest way: one label for everything

1. Go to **WPFactory > Add to Cart Button Labels** (also reachable at **WooCommerce > Settings > Add to Cart Button Labels**).
2. On the **General** section, make sure **Enable plugin** is ticked (it is on by default).
3. Open the **All Products** section and tick **Enable section**.
4. Type your text in **Single product page** and, if you want a different one, **Shop page**.
5. Click **Save changes** and reload a product and your shop page.

Leaving a field empty keeps WooCommerce's normal text for that view, so you can change one view without touching the other.

| Label | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable plugin (General) | `alg_wc_add_to_cart_button_labels_enabled` | On | Free |
| Enable section (All Products) | `alg_wc_add_to_cart_button_labels_all_products_enabled` | Off | Free |
| Single product page | `alg_wc_add_to_cart_button_labels_all_products_single` | Empty (ignored) | Free |
| Shop page | `alg_wc_add_to_cart_button_labels_all_products_archive` | Empty (ignored) | Free |

## Targeting the change

If you do not want the same wording everywhere, the plugin can set the button text by product type and condition, by category, by tag, by individual product, by user role and by individual user. Each of these lives in its own section and has its own **Enable section** checkbox. All seven sections work in the free version.

When more than one section applies to the same product, the most specific match wins, in this order (highest first): Per User, Per User Role, Per Product, Per Product Tag, Per Product Category, Per Product Type & Condition, All Products. For example, a Per User label beats a category label, which beats the All Products label.

See [labels by product type and condition](https://wpfactory.com/docs/per-product-type-conditions/) for sale, free, empty-price and already-in-cart wording, and [labels by user role](https://wpfactory.com/docs/role-specific-button-labels/) for wholesale or guest wording.

## Add dynamic content

Labels accept shortcodes, so you can show live details in the button, such as `Add [alg_wc_atcbl_product_title] to cart` or `Buy now for [alg_wc_atcbl_product_price]`. Shortcodes work in the free version.

## If it does not work

- **Enable plugin** is unticked on the General section, so no section runs.
- The section's own **Enable section** checkbox is off. Every section defaults to off.
- The label field is empty. In All Products an empty field is ignored and WooCommerce's text shows.
- A more specific section is overriding the one you edited (see the order above).
- In a category, tag, role or user group that matches but has an empty label, the button shows no text. Fill in both labels in every group you use.
- Your theme or page builder prints its own button text instead of using WooCommerce's standard filters, so no plugin can change it.

For more fixes, see [Add to Cart label not changing](https://wpfactory.com/docs/custom-cart-button/).

## FAQ

### Can I change the text on the shop page only?

Yes. Fill in **Shop page** and leave **Single product page** empty. The empty field is ignored, so the product page keeps WooCommerce's text.

### Does this change the button link, color or size?

No. The plugin changes the button text only. It has no link, color or styling options in either version, so the button keeps your theme's design and its normal add to cart behavior.

### Can I use different text for variable products?

Yes. In **Per Product Type & Condition**, the variable product fields default to "Add to cart" on the single page and "Select options" on the shop page, and you can replace either one.

### What is Pro for?

Pro lifts the one-group limit on the Per Product Category, Per Product Tag, Per User Role and Per User sections, and unlocks the "On sale" condition label. Everything else on this page is free.

### Get more control

The core text changes are free. [Change Add to Cart Button Text for WooCommerce](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/) Pro adds unlimited category, tag, user role and user groups, plus separate labels for on-sale products. [See what Pro unlocks](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/).

Need a hand? Our team answers every ticket on the [Add to Cart Button Labels support forum](https://wpfactory.com/support/item/add-to-cart-button-labels-woocommerce/).

Related articles

- [Installing Change Add to Cart Button Text for WooCommerce](https://wpfactory.com/docs/plugin-installation-guide/)
- [How to Set Add to Cart Button Labels by Product Tag](https://wpfactory.com/docs/woocommerce-add-to-cart-labels-by-product-tag/)
- [Set Add to Cart Button Labels per Language (WPML and Polylang)](https://wpfactory.com/docs/woocommerce-add-to-cart-labels-per-language/)
- [Add to Cart Button Labels by Product Category](https://wpfactory.com/docs/category-button-labels/)
- [Add to Cart Button Labels for External Products](https://wpfactory.com/docs/external-product-settings/)

 

[![Customize Add to Cart Button Text for WooCommerce](https://wpfactory.com/wp-content/uploads/Add-to-Cart-Button-Labels-for-WooCommerce.webp)](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/)
