Title: Product Category Count
Last modified: December 11, 2020

---

# Product Category Count

 *  Resolved [webcouture1](https://wordpress.org/support/users/webcouture1/)
 * (@webcouture1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/product-category-count/)
 * Store page shows category images and counts of products within each category,
   eg “12 PRODUCTS”. Can you recommend CSS or php to replace name “products” with“
   items”, so it would display “12 PRODUCTS”. Is this name assigned in woocommerce
   file (which one?) or theme file?
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/product-category-count/#post-13778999)
 * I tried a couple of themes and I get: “category-name (12)” not “12 Products”.
 * Please post a link to the relevant page so I can be sure I’m looking in the right
   place.
 *  Thread Starter [webcouture1](https://wordpress.org/support/users/webcouture1/)
 * (@webcouture1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/product-category-count/#post-13779379)
 * Theme is Astra
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/product-category-count/#post-13779760)
 * “Products” is coming from the theme file: “class-astra-woocommerce.php”, but 
   best not to edit theme files as edits would be overwritten by updates.
 * Try:
    [https://en-gb.wordpress.org/plugins/say-what/](https://en-gb.wordpress.org/plugins/say-what/)
   and setup new string replacements at Dashboard > Tools > Text changes
 * Text change settings:
 * Original string: %1$s Product
    Domain: astra Text context: product categories
   Replacement string: %1$s Item
 * Original string: %1$s Products
    Domain: astra Text context: product categories
   Replacement string: %1$s Items
 *  Thread Starter [webcouture1](https://wordpress.org/support/users/webcouture1/)
 * (@webcouture1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/product-category-count/#post-13780344)
 * Thank you for your help Lorro, it worked. I did not realize the set up was coming
   from theme, not Woocommerce.
 *  [Missy a11n](https://wordpress.org/support/users/m155y5/)
 * (@m155y5)
 * Automattic Happiness Engineer
 * [5 years, 4 months ago](https://wordpress.org/support/topic/product-category-count/#post-13841935)
 * It sounds like you got this worked out with Lorro’s help, so I’m going to go 
   ahead and mark this thread as resolved. If you have any other questions please
   feel free to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Product Category Count’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Missy a11n](https://wordpress.org/support/users/m155y5/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/product-category-count/#post-13841935)
 * Status: resolved