Display required fields above optional fields in the add listing form

How do i have Required fields on top and optional fields only shown if they click on a collapsible button. This will improve conversion rate and declutter the form

Hi,

It all depends on whether the attribute is custom or built-in. If it is custom, you can specify the order by editing the attribute in Listings > Attributes. If it is a built-in attribute, you will need a PHP snippet: Search · user:hivepress change order listing_update · GitHub

I hope it helps

what about a collapsible button so that the optional fields will only show after the button is clicked.

Hi,

Yes, it is possible, but this functionality is not available by default, so it will require custom implementation.