Title: Numeric Custom Product Attribute
Last modified: August 30, 2016

---

# Numeric Custom Product Attribute

 *  Resolved [mealea](https://wordpress.org/support/users/mealea/)
 * (@mealea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/)
 * Firstly thanks for a terrific plugin.
 * I wish to sell a product by length. (ie. $2 per meter) I would like the field
   on the product page to be blank so customer can enter any value.
 * Is it possible to use a numeric field something like 1-1000 in Attributes instead
   of having to go in and enter each and every number from 1-1000 seperated by pipes?
 * Or is there another way to do it wothout using Variable Product Attributes?
 * Many thanks.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  Thread Starter [mealea](https://wordpress.org/support/users/mealea/)
 * (@mealea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/#post-6465591)
 * Sorry, forgot to mention 1st part. On the product description page I need to 
   show 2 option fields. I would like customer to first select the number of products
   and then select the product length. (ie. 10 items 125 meters long). End result
   in shopping cart would be $2 x 10 x 125 = $2,500). Hope this makes sense.
 * The numeric field of say 1-1000 (or any value input) would apply to both the 
   number of produsts and lengths.
 * This was why I was looking at using Variable Product Attributes.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/#post-6465794)
 * Not sure if this is 100% what you need, but worth looking at [http://docs.woothemes.com/document/measurement-price-calculator/](http://docs.woothemes.com/document/measurement-price-calculator/)
 *  Thread Starter [mealea](https://wordpress.org/support/users/mealea/)
 * (@mealea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/#post-6465804)
 * Thanks for the tip Mike, I will check the extension out.
 * Meanwhile I think I may have come up with a possible solution myself. I think
   if I create a label call it “select number of items” then have VPA drop down 
   box set for say a range of items using the pipe system, then use another lable
   call it “select length” and have those 3 fields above the box where people normally
   enter the number of items they want to purchase it just might work. Customers
   can then enter their desired length in the traditional order box. Will do some
   more demo work on it and see how it turns out.
 * Many thanks.
 *  Thread Starter [mealea](https://wordpress.org/support/users/mealea/)
 * (@mealea)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/#post-6465806)
 * Will mark item as closed for now. Thanks.

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

The topic ‘Numeric Custom Product Attribute’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [mealea](https://wordpress.org/support/users/mealea/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/numeric-custom-product-attribute/#post-6465806)
 * Status: resolved