View Categories

Add to Cart Button Labels by Product Category

The Per Product Category section of Change Add to Cart Button Text for 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

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 Pro adds unlimited category groups, plus tag, user role and user groups and on-sale labels. Get the Pro version.

 

Customize Add to Cart Button Text for WooCommerce