Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey guys, does anyone have experience extending MerchantPortal GUI? What I would like to achieve is

Options
michael.schmetter
michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

Hey guys,
does anyone have experience extending MerchantPortal GUI?
What I would like to achieve is to add a simple field to the GUI of a concrete product.
In Backoffice, that was easily achievable by using a ProductConcreteFormExpanderPluginInterface that was responsible for adding custom fields to the corresponding Symfony Form, but I could not find anything in the product-merchant-portal-gui.

Comments

  • U02SK9QH76G
    U02SK9QH76G Posts: 17 🧑🏻‍🚀 - Cadet
    Options

    First you need to determine if this is single form or a collection of forms. If it is a single form, extend it to project level and add the new field. If is the case of multiple form, you have 2 choices, extend one of the forms to project level and add the field inside it or create a new form and add it the collection.

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
    Options

    Thank you Vlad,
    but shouldn't be there these extension points?

  • U02SK9QH76G
    U02SK9QH76G Posts: 17 🧑🏻‍🚀 - Cadet
    Options

    I don't understand what you're referring to.