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 use Ubercart. And add "Product: Sell Price" field to editview but it doesn't appear in edit view!!!
How can i add this field to editview?
Maybe i can wrote some hook code?
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedG'day - yes you are correct. Editview is primarily designed to work with CCK and so any other fields in Drupal require some hook code to be written for it to work.
Comment #2
Eugene Fidelin CreditAttribution: Eugene Fidelin commentedCan you explain me where i can see an example of such hook?
In which function of module i have to implement it?
Comment #3
jrefano CreditAttribution: jrefano commentedold issue, i know... but issue remains a year later. what further info do you need?
Comment #4
babbage CreditAttribution: babbage commentedWould love to see this for D6.
Comment #5
babbage CreditAttribution: babbage commentedCorrecting this issue, it is currently the case that the "Sell" price field from Ubercart is now editable in editview, but only if you use that view and not try to use the editable row style. However, the list price and stock levels are *not* editable. Any leads on why this might be, so I can try to fix this?
Comment #6
jon_stewart CreditAttribution: jon_stewart commentedSubscribing - it would be most useful to be able to edit stock levels.
Comment #7
zkrebs CreditAttribution: zkrebs commentedSeconded, most useful.
Comment #8
Agileware CreditAttribution: Agileware commentedComment #9
ledom CreditAttribution: ledom commentedSubscribing too.
Editview is very usefull. Price view editing is fine, but modifying sell price does not update product cost (based on commission rate) when using ubercart-marketplace module.
EDIT: a workaround is to use workflow-ng (DRUPAL5) and create a rule on product update with a php action that update other fileds than sell price.
Comment #10
verta CreditAttribution: verta commented+1 on ubercart fields!
Comment #11
Murzsubscribe