Tags/topics: 
1
Answers
Vote up!
0
Vote down!

How to edit submitted line items?

The site I'm building is essentially a book-selling site, where customers use custom line items to submit citation information for a generic "Book" product type (I can't set up individual product variations because there are thousands of books, and they aren't all actually inventoried - long story).

As such, the staff for this store will need to get access to the submitted citation information, and augment it with more complete/accurate details. However, I have yet to find a form that exposes this information for editing? I can build a view off the line item ID that exposes what was submitted, but I'm having a hard time making that information editable? Line items don't appear to be nodes (I'm assuming that they're entities?) - is there a best-practice way to make this information editable?

Asked by: Matt Bernhardt
on September 3, 2014

1 Answer

Vote up!
1
Vote down!

Matt,

As it turns out, I tried doing this just the other day when I was proving to myself that you could create an editable line item with a fixed (or locked) price.

https://drupalcommerce.org/discussions/15856/how-can-i-give-seller-one-m...

Scroll down to "Create a view block that lets you edit the line items fields" to see how you can quickly create an editable line item view block on the admin side.

Hope that helps.

Josh

Josh Miller
Answer by: Josh Miller
Posted: Sep 4, 2014

Comments

Thanks for posting! I'll take a look at this shortly, and post an update. I've been working on another option as well, which I'll share here if it works out.

- Matt Bernhardt on September 4, 2014