Suppliers plugin: control panel buttons are disabled
Right now it is not possible to add new suppliers or manage distributed products. The control panel buttons are disabled in the following code snippet (plugins/suppliers/lib/suppliers_plugin/base.rb
):
def control_panel_buttons
# FIXME: disable for now
return
profile = context.profile
return unless profile.enterprise?
[
{title: I18n.t('suppliers_plugin.views.control_panel.suppliers'), ...
{title: I18n.t('suppliers_plugin.views.control_panel.products'), ...
]
end
If the buttons are displayed again, the "manage distributed products" will lead to an error and the "manage suppliers" will still not work due HTML errors.