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 have set up a content type called "Companies" and contacts are assigned to these companies. A list of these contacts are displayed on that companies page. What I would like is a link next to that contact name that creates an order for that user.
Can this be done and if so how?
Comments
Comment #1
longwaveIf you make a link to /admin/store/orders/create/1 then a new order will be created for user 1. You can build such a link easily from custom code or from Views.
Comment #2
esquareddesign CreditAttribution: esquareddesign commentedOh! That works perfectly, thank you. Now to figure how to auto fill the ship to and bill to fields.