Editing specific attributes form

Hello!

I want to create a form in which only specific attributes of the seller are editable. Is it possible?

Currently, I’m trying to handle it this way:

phpCopy code

echo ( new HivePress\Forms\Vendor_Update(
    [
        'values'   => ['attribute_1', 'attribute_2'],
        'return'   => true,
    ]
))->render();

Hi,

Please note that this depends on the assigned form, specifically how it differs from Profile Settings. If it is no different, then the easiest option is not to mark attributes as Editable. If it does differ, then the best option is to customize it by creating your own extension and inheriting the form using the PHP class Create a custom HivePress extension - Developer Docs.

I believe this will be useful to you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.