Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By peterk900 on
I have a Content Type Order Line which is related to a Product Content Type using an entity reference. I want to add a price field to the Order Line content type which displays the price field from the Product Content Type using the entity reference field relationship.
How can I do this ? Thanks.
Comments
Are you using Drupal Commerce
Are you using Drupal Commerce?
If so, why aren't you using:
https://www.drupal.org/project/inline_entity_form
To attach a Drupal Commerce product entity to a content node?
https://www.google.com/search?q=drupal+commerce+inline+entity+form+site%...
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
Thanks sprite
Actually no - but I am looking at Commerce so your links are useful.
I think the solution is the Entity Reference Autofill module. Here is a link to a video which I found easier to follow than the description in drupal.org .