Title: Ordinal number
Last modified: March 1, 2020

---

# Ordinal number

 *  Resolved [kamilen12](https://wordpress.org/support/users/kamilen12/)
 * (@kamilen12)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/ordinal-number/)
 * Hello, I’ve a problem.
    I want to set ordinal numbers to products in cart, order
   summary, mail etc. Is it possible? I want to create new column (in the beginning
   of every table on these pages). Something like this: **No.** | Product name |
   Price | etc. **1.** | Product I | 25$ | … **2.** | Product II | 25$ | … **3.**
   | Product III | 25$ | … and so on…
 * Thanks in advance!
    -  This topic was modified 6 years, 2 months ago by [kamilen12](https://wordpress.org/support/users/kamilen12/).

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

 *  Thread Starter [kamilen12](https://wordpress.org/support/users/kamilen12/)
 * (@kamilen12)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ordinal-number/#post-12570892)
 * Is there any solution for this? :/
 *  Plugin Support [Kel C. a11n](https://wordpress.org/support/users/kellymetal/)
 * (@kellymetal)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ordinal-number/#post-12576801)
 * Hi there [@kamilen12](https://wordpress.org/support/users/kamilen12/)!
 * There is no setting to enable this, and no filter available in the code where
   a short snippet would make this possible either. To get this working, you would
   need to override the `/woocommerce/templates/cart/cart.php` template file in 
   your child theme, and add an extra column to the table, then add a counter to
   add that number on each loop (each product).
 * I’ve uploaded an example here:
    [https://gist.github.com/dphyled/e75891b607d5ab636cd931be13a25ee7](https://gist.github.com/dphyled/e75891b607d5ab636cd931be13a25ee7)
 * Please try copying that to your child theme under `/yourtheme/woocommerce/cart/
   cart.php`
 * I hope that helps! Have a wonderful day!
 *  Plugin Support [Kel C. a11n](https://wordpress.org/support/users/kellymetal/)
 * (@kellymetal)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ordinal-number/#post-12576808)
 * Hi there,
 * Sorry, just to clarify, that is just for your Cart page. You would need to do
   something similar for your other pages/emails/etc where you want to add that 
   ordinal number.
 * If you need assistance with coding or custom development, we recommend reaching
   out to a developer from one of the services at [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/).
 * Thank you!

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

The topic ‘Ordinal number’ 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/)

## Tags

 * [order summary](https://wordpress.org/support/topic-tag/order-summary/)

 * 3 replies
 * 2 participants
 * Last reply from: [Kel C. a11n](https://wordpress.org/support/users/kellymetal/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/ordinal-number/#post-12576808)
 * Status: resolved