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.
The new handler (views_handler_field_term_entity_tid? views_handler_field_entity_terms?) will work for all entity types and all backend types (Search API, SQL).
It should be based on the code from https://gist.github.com/3295371.
The patch should be submitted to Views.
After that, the handler should be added to the product variations view (the one that is embedded under "Quick Edit"), which will allow all relevant sizes and other attributes to show up for products (right now we show the color and the hat size).
Comment | File | Size | Author |
---|---|---|---|
#1 | views-generic-entity-tid-handler-1826068-1.patch | 13.71 KB | jsacksick |
Comments
Comment #1
jsacksick CreditAttribution: jsacksick commentedPatch attached
Comment #2
jsacksick CreditAttribution: jsacksick commentedOups, I was supposed to post that in the views issue queue. See #1826068: Create an entity generic version of views_handler_field_term_node_tid
Comment #3
jsacksick CreditAttribution: jsacksick commentedhttps://code.drupalcommerce.org/#/c/497/
Comment #4
bojanz CreditAttribution: bojanz commentedDecided to commit a tweaked version to Backoffice itself, so that we don't depend on the Views patch for now:
https://code.drupalcommerce.org/#/c/511/
Comment #5
bojanz CreditAttribution: bojanz commentedMoving to the Backoffice queue.