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.
I need to pass the content of a product field to a line item so it can be shown in the checkout form view next to Total. I know how to add a field to the line item but I don´t want the customer to fill that field during checkout. I just need to populate it with a value from a product field. Can this be done and how ?
Comments
Comment #1
kingslayer CreditAttribution: kingslayer commentedAny ideas, please ???
Comment #2
nvahalik CreditAttribution: nvahalik at Centarro commentedYou can either use Views for this or Rules to copy some value from the field to a custom line item field.