Custom Fields in Osclass allow administrators to define additional data fields for listings, making them more specific to certain categories such as real estate, vehicles, or services.
Custom fields
What are Custom Fields?
Custom fields enable you to collect additional information from users when they publish a listing. This is particularly useful for specific listing types, such as:
Real Estate: Number of bedrooms, property size, year built, square meters.
Automotive: Fuel type, mileage, transmission, number of gears, vehicle color.
Job Listings: Number of vacancies, required experience, skills.
Managing Custom Fields
Administrators can access and manage custom fields from the Osclass admin panel by navigating to Listings > Custom Fields.
Adding a New Custom Field
To create a new custom field:
Go to Listings > Custom Fields.
Click the Add Custom Field button.
Fill in the required details such as name, type, and category assignment.
Save the custom field.
Editing an Existing Custom Field
To edit a custom field:
Locate the field in the custom fields list.
Click on the field name to open the edit form.
Modify any required parameters.
Save changes.
Deleting a Custom Field
Custom fields can be removed by clicking the Delete button next to the field name. Deleted fields cannot be recovered.
Custom Field Configuration
When creating or editing a custom field, the following options are available:
Basic Settings
Name: The label or title of the field as it appears in the listing form.
Type: Defines the format of the input field (text, dropdown, checkbox, etc.).
Required: If enabled, the user must fill out this field before submitting a listing.
Categories: Assign the field to specific categories or apply it globally.
Advanced Options
Identifier: A unique ID for the custom field, useful for custom development.
Allow Search: If enabled, the field appears as a search filter on the search page sidebar when its category is selected.
Reordering Custom Fields
Administrators can reorder custom fields by clicking on the Move icon and dragging them to the desired position.
Conclusion
Custom Fields provide flexibility in Osclass, allowing site owners to capture detailed and relevant listing information based on category-specific needs. With features such as search filtering, required fields, and custom ordering, administrators can fully control how listings are structured and displayed.