We would like to show you how to add a custom field in DJ-Classifieds and how to search items using defined field. All custom fields can be visible in a single item view and in DJ-Classifieds search box as well. Check our short tutorial and see how to do it.
ADDING A NEW CUSTOM FIELD
Choose the "Add field" option.
Now enter all the data for a new field.
You also need to assign defined field to a DJ-Classifieds category. Go to "Category assignement" at the botton and select the proper category.
= Now it's assigned to the "Latest ads" category.
Open the "Search options" tab and set "Yes" if you want to enable this field in search module.
You can also set the search type from the list.
For our example we will will choose "Two selectlist Min-Max". It means that you'll be able to search by value between the minimum and maximum.
You can also set a "Inputbox" and search through typing a value or choose a "Checkbox with accordion" that will allow to mark and search from defined value for example. Many options are available.
ADDING A NEW ITEM
Open "Items". Click "new" to add a new item.
We are using the "2006 Saab 9-7x 4.2i" example. After filling out all fields go to "Category and Custom Fields" tab. And set a value for a defined field.
THE FINAL VIEW
You can see now how it looks from the front. The "mileage" field is visible in single item view.
The "mileage" field is visible in DJ-Classifieds search. Now we can filter search results using values range.
And the search result is our add.