Would be awesome if this worked with the commerce product entities. Currently it only seems to work with content entity. I want to be able to change product titles or prices via a view.

Comments

joachim’s picture

Title: Drupal 7 Editable Views - Commerce Product Entity support » Commerce Product Entity support

This works with the fields on any entity. It should work with the price field.

What it won't work with is the product title -- you'd need to write a handler for that.

patoshi’s picture

do you have a sample handler i can use as a starting point?

joachim’s picture

There's the node title handler in the module.

patoshi’s picture

what would i search for in the module file for that?

joachim’s picture

msypes’s picture

I just tried using this on a view of commerce line items, and it doesn't seem to have any effect. Everything shows up as a regular field would.

  1. Cloned the line items view provided by Drupal Commerce
  2. Added supposedly editable fields from the list, including
    • two custom Double Fields (Maybe that's an issue?)
    • Commerce Line item: Total
discipolo’s picture

Issue summary: View changes

you need to add the fields to the view again as editable, they dont automatically become editable

joachim’s picture

Status: Active » Closed (duplicate)