---
title: Add to Cart Button Labels by Product Category
description: Set custom Add to Cart button labels for WooCommerce product categories, such as a different label for clothing and gift cards.
url: "https://wpfactory.com/docs/category-button-labels/"
updated: "2026-09-27"
category: How to
tags:
  - Customize Add to Cart Button Text for WooCommerce
---

# Add to Cart Button Labels by Product Category

The **Per Product Category** section of [Change Add to Cart Button Text for WooCommerce](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/) sets the button text for products in the categories you choose, so clothing can say "Add to wardrobe" while gift cards say "Send a gift". One category group is free; adding more groups is a Pro feature.

![Per Category section of the Add to Cart Button Labels settings](https://wpfactory.com/wp-content/uploads/Per-Category-Options.png)

### Step-by-step setup

1. Go to **WPFactory > Add to Cart Button Labels** (also reachable at **WooCommerce > Settings > Add to Cart Button Labels**).
2. Open **Per Product Category** and tick **Enable section**.
3. Under **Group #1**, pick one or more categories in the **Categories** field.
4. Enter your **Single product page** and **Shop page** labels.
5. Click **Save changes**.

### Options reference

| Label | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable section | `alg_wc_add_to_cart_button_labels_per_category_enabled` | `no` | Free |
| Total category groups | `alg_wc_add_to_cart_button_labels_per_category_total_number` | `1` | Free (capped at 1; Pro removes the cap) |
| Categories (per group) | `alg_wc_add_to_cart_per_category_ids_group_1` | Empty | Free |
| Single product page (per group) | `alg_wc_add_to_cart_per_category_text_single_group_1` | Empty | Free |
| Shop page (per group) | `alg_wc_add_to_cart_per_category_text_archive_group_1` | Empty | Free |

### Multiple category groups (Pro)

On Pro you can raise **Total category groups** above 1, save, and each new group gets its own category selection and its own label pair. This lets you run several category-specific labels side by side. On the free version the number is fixed at 1.

**Note:** if a product sits in more than one targeted category, the first matching group in order wins. There is no per-category name shortcode, so you cannot auto-insert the category name into the label.

### When a category label applies

Per Product Category sits between the product-type rules and the more specific per-product, per-user-role and per-user rules. So a category label overrides the type and All Products labels, but a Per Product label on an individual product will override the category label.

### Get more control

One category group is free. [Change Add to Cart Button Text for WooCommerce](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/) Pro adds unlimited category groups, plus tag, user role and user groups and on-sale labels. [Get the Pro version](https://wpfactory.com/item/add-to-cart-button-labels-woocommerce/).

Related articles

- [How to Set Add to Cart Button Labels by Product Tag](https://wpfactory.com/docs/woocommerce-add-to-cart-labels-by-product-tag/)
- [Add to Cart Button Labels for External Products](https://wpfactory.com/docs/external-product-settings/)
- [Default Add to Cart Button Labels by Product Type and Condition](https://wpfactory.com/docs/woocommerce-default-add-to-cart-labels-reference/)
- [Add to Cart Labels by Category, Tag, and Product](https://wpfactory.com/docs/per-product-attributes/)
- [Set Add to Cart Button Labels per Language (WPML and Polylang)](https://wpfactory.com/docs/woocommerce-add-to-cart-labels-per-language/)

 

[![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/)
