How can I make Security deposit required

I need to make security deposit compulsory/required for Vendor to fill and how can i fix the value for every vendor.

Hi,

Please use this PHP snippet How to add custom code snippets - HivePress Help Center :

add_filter(
	'hivepress/v1/models/listing/attributes',
	function( $attributes ) {
		if ( isset( $attributes['booking_deposit'] ) ) {
			$attributes['booking_deposit']['edit_field']['required'] = true;
		}
 
		return $attributes;
	},
	1000
);

‚ÄčI hope this is helpful to you.

P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.