vholik / medusa-custom-attributes

Plugin that extends MedusaJs with custom attributes API
84 stars 19 forks source link

Widget in Rigby's MercurJS VendorUI #36

Open NicolasGorga opened 1 month ago

NicolasGorga commented 1 month ago

Hello,

I find that this works on a typical Medusa project, but for MercurJS, the visual customizations only apply to the AdminUI, which should be the case but just for the page 'Custom Attributes' this plugin introduces.

The Widget that gets injected in the Product detail page also appears on the AdminUI (which in the context of Mercur marketplace is irrelevant), but not on the Vendor panel, which is the one that actually should use the Widget, to link products to specific attributes defined at the system level by the Admin.

Is there any way to maybe pass this as an option to MercurJS VendorUI plugin, should I copy/paste the Widget code, from medusa-custom-attributes to my MercurJS project or what is the reccommended way @vholik ?

NicolasGorga commented 1 month ago

Note that apart from only wanting to have the Widget in Vendor panel and not the page, neither of these appear.