# Domocomplect

> I built a new filter for the Domocomplect house plan catalog to replace an unfinished one. I wrote it as custom WordPress code: search by floors, bedrooms and area with no page reload, an area slider and a layout that works well on phones. I showed a demo on a test server, moved it to the live site and cleaned out the old plugins along the way.

Case study · Website: https://vitaliihura.com/work/domocomplect

- Author: [Vitalii Hura](https://vitaliihura.com/), Full-Stack Developer
- Role: WordPress developer
- Stack: WordPress, PHP, JavaScript, jQuery, AJAX, Avada
- Timeline: 1.5 days
- Year: 2025
- Client: Domocomplect, through Freelancehunt
- Website: https://www.domocomplect.com.ua/project/

## The task

The Domocomplect site has a large catalog of house plans, and buyers need to narrow it down quickly. The filter was left unfinished after earlier development, and attempts to finish it kept breaking the site. The client needed a working filter by floors, bedrooms and area that would not affect the rest of the site.

## What was built

- **Custom filter instead of a plugin.** I wrote the filter as custom code and keep it separate from the theme, so theme updates won't wipe it out. Floors, bedrooms and area come from the plan's fields in the admin panel, and a new plan appears in the filter as soon as it's published.
- **Area slider.** At first the area was picked from a list, and at the client's request I changed it to a slider with two handles. The selected range in square meters is shown above it.
- **No page reloads.** Results load without a page reload, and a loading spinner replaces the cards while the search runs. The button shows right away how many plans were found.
- **Works on phones.** On phones the lists and the slider stack into a full-width column, and the slider moves with a finger just as it does with a mouse.
- **Demo first, then the live site.** I worked on a copy of the site locally, showed a demo on a test server and moved the filter to the live site only after approval.
- **Site cleanup.** Beyond the task, I made a backup and removed an unused theme and 10 disabled plugins left over from earlier development.

## Result

The filter went live a day and a half of work after we agreed on the plan, and it still works today. In the spring the client came back with a new task: adapting the filter for the Ukrainian version of the site.

> Done within the agreed time, everything is perfect. Clear communication.
>
> Alena K., House plan catalog filter, translated. Review 5.0 on Freelancehunt

## What the site looks like

- Filtered catalog: The filter by floors, bedrooms and area sits above the cards, and the button shows the number of plans right away. ![Plans page on the Domocomplect site: Floors and Bedrooms lists, an area slider from 20 to 340 m2, a Found (74) button, and house cards](https://vitaliihura.com/storage/cases/domocomplect-catalog.jpg?v=1793949393)
- Filter in action: 1 floor, 3 bedrooms and an area of roughly 70 to 130 m2 are selected, and the list updates without a page reload. ![Filter set to 1 floor and 3 bedrooms, the area slider moved to 70-130 m2, a Found (12) button and the single-story houses found](https://vitaliihura.com/storage/cases/domocomplect-filter.jpg?v=1793949393)
- Plan cards: Each card shows a photo of the house, its area and the number of bedrooms, floors and bathrooms, and leads to the plan page. ![Grid of house plan cards with the name, area and number of bedrooms, floors and bathrooms](https://vitaliihura.com/storage/cases/domocomplect-list.jpg?v=1793949393)

Build something similar: https://vitaliihura.com/quote
