Hello,
Your project page says that This module has been included with Drupal 8 core, but I am not able to find a way to add custom line item there with Drupal 8, could you please tell me how to do it with Drupal 8 or point me to a tutorial/documentation for doing this? thank you.

Comments

pinno created an issue.

caspervoogt’s picture

This looks like an error to me. Looking at https://www.drupal.org/project/contrib_tracker/issues/2735517, that issue was closed as "won't fix". So it is NOT included in Drupal 8 core as far as I know, and as far as I know you can't add such a line item in Drupal 8. If someone knows how, could you please explain how to do this?

JohnLinux’s picture

I am also need to have this in Drupal 8. anyone?

lisastreeter’s picture

I don't have any personal experience with using this module, but in Commerce 2.x (D8), you can add fields to Order Item types. And then use "Manage form display" to add fields to the "Add to cart" display.

There was an issue with Order item fields not being taken into account when merging cart items. (So if you added two items with the same product but different customizations, they'd be merged into a single line item.) But this issue has just been fixed: Issue #2915163.

As far as I know, there are no other blockers. You just need to use "order item types" instead of "line item types" for your customizable products.