A line item entity to allow customers to input the length, width and height of products if they were setup accordingly.

  1. Enable the module
  2. Create a line item type
    1. Go to Admin / Store / Configuration / Line item types
    2. Click on "Add a line item type for products with dimensions"
    3. Provide a name and select the dimensions this line item type should support
    4. Save
  3. Create a product

    Skip this step if you're using inline entity form (https://drupal.org/project/inline_entity_form)

    1. Go to Admin / Store / Products
    2. Click on "Add a product"
    3. Fill in all fields and save
  4. Create a content type
    1. Go to Admin / Structure / Content types
    2. Click on "Add content type"
    3. Provide a name and click on "Save and add fields"
    4. Add a new field of type "Product reference" and use a widget that suits your needs. In the settings either select the previously created product or - if your using inline entity form - the referenced product gets created automatically
    5. Click on "Manage display"
    6. For the field with your product reference click on settings and in the field "Add to Cart line item type" select the line item type that you've created above
    7. Save
  5. Add a node
    1. Go to Admin / Content and click on "Add content"
    2. Provide all the details and save

Now, the product view will contain some extra fields where the customer can input their desired dimensions before they add that product to their shopping cart.

To make the dimensions also visible in the cart, you can easily edit the view configuration for the cart and add the dimension field there.

To edit the dimension field settings, go to the line item type you've created and go to "Manage Fields" there and edit the settings for the dimension field.

Supporting organizations: 

Project Information

Downloads