I created a total of three product option sets and noticed that the button set "manage fields / manage display" is displayed as many times as many sets I have defined.

Comments

kbalderson’s picture

Status: Active » Needs review
StatusFileSize
new830 bytes

Remove secondary local tasks from option set admin page.

I model the entity_info variable's admin property in commerce_option_entity_info_alter() after what is shown in the Code section here: http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...

Steps:

  1. Use wildcard, %option_set, for argument in path
  2. Use real path using set_id
  3. Change menu type to MENU_CALLBACK, instead of default, which calls a secondary local task.
hunziker’s picture

Status: Needs review » Active

I try your patch, but in my environment it does not work. All buttons disappear and the system can't select the correct bundle. I will resolve this bug as soon as possible, but currently I have no working solution.

giorgosk’s picture

mgladding’s picture

I applied the patch and it basically left the module un-usable, similar to @hunziker's experience.

hunziker’s picture

Status: Active » Closed (fixed)

Latest commit this issue.

mgladding’s picture

The module is working great! Thanks for all your hard work!