What this module provides is fantastic! It's really a big help with managing product displays and the related product entities. Can it be integrated with the Flag module?

Flag is such a popular module I think many people would love to manage flagging and unflagging products(or displays) from withing this interface.

If Product Display Manager were a view (it does look like one) I could edit it and add a "Global: PHP" field with print flag_create_link('featured_products', $row->nid); Where "featured_products" is the name of whatever flag.

Would this be hard to implement?

Thanks!!

Comments

netsensei’s picture

Title: Add Flag Module Integration » Expose data via API hooks for 3rd party integration (ie Flag module)

I haven't come across any flag based integrations with Commerce, but I think that there are definitely use cases out there where flagging products is a plus.

However, the interface of this module is custom build. Rather then directly integrating calls from other API's, like Flag, into this module, I'd think exposing the data view a few hooks (like ie a hook_product_display_manager_product_alter) would allow any module developer to integrate any API (not just Flag) from their own custom build module.