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.
SKU is not a Field API field AFAIK... but it would be super cool if this module supported it..
Comment | File | Size | Author |
---|---|---|---|
#5 | editableviews-commerce_sku_support-1972954-5.patch | 5.86 KB | tmsimont |
#2 | editableviews-commerce_sku_support-1972954-2.patch | 4.61 KB | tmsimont |
Comments
Comment #1
joachim CreditAttribution: joachim commentedAgreed.
Patch welcome! :)
Comment #2
tmsimont CreditAttribution: tmsimont commentedeasier than i thought it would be!
nice module.
Comment #3
tmsimont CreditAttribution: tmsimont commentedComment #4
joachim CreditAttribution: joachim commentedGlad to hear it!
Just needs a few tweaks. Remember to trim whitespace off the end of lines before you roll a patch too.
This should check whether commerce_product module is present (or whether the table is in $data, which is easier and tantamount to the same thing).
!! ;)
Comment #5
tmsimont CreditAttribution: tmsimont commentedsorry bout the whitespace... i have a deadline in a few hours here working in warp speed -- this ones got the same problems, but i noticed an issue on ln 176 of editableviews_plugin_style_row_edit_table.inc -- this should take care of that i can clean this up in a few days if u dont want to
Comment #6
rollingnet CreditAttribution: rollingnet commentedThe SKU support would be great, if it worked!
I apply the patch, but i get this error
EntityMalformedException: Missing bundle property on entity of type commerce_product. in entity_extract_ids() (line 7721 of /includes/common.inc).
Comment #7
joachim CreditAttribution: joachim commentedShould work with #2090731: add a handler for generic Entity API metadata properties.