I am creating a Drupal Commerce website to sale Custom Stitched Thobes in which I need to get the Measurement from the customers. I am unable to understand where & how should I add fields to take the measurements for the product he adds to cart.

Actually the idea is to offer some standard sizes like S,M,L or XL in case he don't want the standard sizes he can select Custom in Sizes Drop down, which will show up custom size text fields.

I was looking for a straight forward way to add text fields in Product Type through manage fields and check Enable this field to function as an attribute field on Add to Cart forms. so those fields can be appeared on add to cart form but unfortunately this option is not available for text fields.

1 Answer 1


Correct - the way the attributes system works, it requires you to define a SKU for every possible combination - depending on how many measurements options you have, it could be infinite. Instead you should look into line item fields that allow a customer to associate unstructured data with a product when it is added to the cart. This could accommodate both your fixed and variable sizes.

  • 1
    Its really nice to see you Ryan. Thanks for directing me to a correct path. Commented Mar 10, 2014 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.