Instead of comparing cars based only on their advertised prices, the platform calculates the complete cost of ownership, including financing, fuel, maintenance, insurance, tyres, and registration.
I designed and developed a custom WordPress application that brings together vehicle data, financial calculations, dynamic comparison pages, automated price verification, and search-friendly content architecture.
The project demonstrates how WordPress can go beyond traditional websites and serve as the foundation for a data-driven web application.
The Challenge: Car Prices Don’t Tell the Whole Story
Buying a car is a major financial decision, but the advertised price is only part of the expense.
Two vehicles with similar purchase prices can have very different ownership costs once financing, fuel consumption, maintenance, insurance, and registration are considered.
For Filipino buyers, additional considerations include:
- Different dealer financing offers and add-on interest rates.
- Down payments and cash requirements on release day.
- Changing fuel prices.
- Annual registration and insurance costs.
- Differences in maintenance and replacement expenses.
- Regional driving conditions and annual mileage.
- The financial trade-offs between petrol, hybrid, and electric vehicles.
Existing automotive listing platforms make it relatively easy to find vehicle prices and specifications. However, comparing the long-term financial implications requires more than a conventional listing page.
The objective was to build a platform that calculates, compares, and explains the actual financial implications of owning different vehicles.
The Solution: A Custom WordPress Automotive Application
I developed a custom WordPress theme that powers a structured vehicle catalogue and a collection of interactive financial tools.
The platform is built around four principles:
1. Every calculation should be based on identifiable inputs.
Users can adjust their mileage, ownership period, financing assumptions, and fuel prices to see how their expenses change.
2. Every price should have a source and confidence level.
The platform distinguishes manufacturer-published prices from estimates and other less reliable references.
3. Rankings should be based on financial results, not commercial influence.
Vehicle rankings use calculated ownership costs rather than sponsored placements.
4. Performance and accessibility matter.
The frontend is designed for mobile users, including visitors accessing the platform through mid-range Android devices and mobile data connections.
Core Features and Functionality
1. Total Cost of Ownership Calculator
The central feature calculates the estimated cost of owning a vehicle over a selected period.
Instead of displaying only the manufacturer’s suggested retail price, the calculator accounts for:
- Vehicle purchase price.
- Financing costs.
- Fuel consumption.
- Maintenance expenses.
- Tyre replacement.
- Insurance.
- LTO registration.
Users can adjust their annual mileage, ownership period, fuel price, and financing assumptions.
The application recalculates the results without requiring a page reload.
Each vehicle variant has its own calculation data, ensuring that differences between manual and automatic transmissions, engine configurations, and trim levels are reflected in the results.
The output includes:
- Total estimated ownership cost.
- Monthly ownership expenses.
- Cost per kilometre.
- Expense breakdowns.
- Fuel price scenarios.
2. Vehicle Financing and Installment Calculator
Vehicle financing can be confusing because advertised add-on interest rates don’t always communicate the actual cost of borrowing.
I developed a finance calculation engine that converts dealer-quoted add-on rates into their equivalent effective annual interest rates.
For example, a 4% annual add-on rate on a ₱500,000 loan over 36 months works out to approximately 7.4% effective annual interest.
The installment pages also calculate:
- Down payment requirements.
- Monthly amortization.
- Loan terms.
- Total financing costs.
- Estimated cash requirements on release day.
- Published bank interest-rate ranges.
The goal is to help buyers understand the real financial commitment before accepting a financing offer.
3. Side-by-Side Vehicle Comparison
CarCompare PH allows visitors to compare two vehicle variants based on their purchase prices and projected ownership expenses.
Rather than simply presenting specification tables, the comparison highlights which vehicle is financially more economical over the selected ownership period.
An important use case is when the vehicle with the lower purchase price is not necessarily the cheaper vehicle to own.
The platform supports 121 vehicle variants, producing 7,260 possible unique two-vehicle combinations.
To maintain content quality and avoid generating thousands of thin search pages, only editor-approved comparisons are indexed and included in the sitemap.
4. Vehicle Rankings Based on Ownership Costs
I developed 12 vehicle ranking pages that organize cars according to their estimated ownership expenses.
These rankings cover different buyer requirements and driving scenarios.
Examples include:
- Lowest total cost of ownership.
- Most economical vehicles.
- Best-value vehicles for families.
- Vehicles suitable for high-mileage drivers.
- Cost comparisons for Grab and TNVS drivers.
- Provincial driving scenarios.
The calculations use different annual mileage assumptions depending on the intended audience.
For example, the Grab ranking uses 45,000 kilometres per year, while the provincial ranking uses 25,000 kilometres.
This makes the comparisons more relevant to actual driving habits rather than relying on a single generic mileage assumption.
5. Hybrid and Electric Vehicle Payback Calculator
With more buyers considering hybrid and electric vehicles, the platform includes a dedicated calculator to estimate whether the additional purchase cost of an electrified vehicle can be recovered through lower running expenses.
The calculator compares:
- Purchase price differences.
- Petrol and electricity expenses.
- Annual mileage.
- Estimated operating costs.
- Ownership duration.
- Potential savings over time.
It also handles negative purchase premiums, allowing the calculations to reflect situations where an electric vehicle may cost less than its petrol equivalent.
6. Vehicle Search and Comparison Tray
To make the growing vehicle catalogue easier to navigate, I implemented a type-ahead search interface.
The search covers:
- Vehicle models.
- Manufacturers and brands.
- Rankings.
- Calculators.
- Guides.
A keyboard shortcut (Ctrl+K) opens the search interface.
I also implemented a comparison tray that allows visitors to collect up to four vehicle variants while browsing.
These features improve navigation and help users move between vehicle research and financial comparisons.
Application Architecture: Separating Business Logic from WordPress
One of the most important architectural decisions was keeping the three calculation engines independent of WordPress.
The finance, total cost of ownership, and electrification payback engines are implemented in plain PHP.
They accept structured value objects and return calculated results without depending on WordPress functions.
This approach provides several advantages:
- Reusability: The same calculation logic serves rendered pages, REST API endpoints, and automated tests.
- Maintainability: Business calculations are separated from presentation and CMS functionality.
- Testability: Financial formulas can be tested independently without booting a complete WordPress installation.
- Scalability: Additional interfaces and integrations can reuse the existing calculation engines.
I also implemented a cost index that stores important calculated values for each vehicle variant, including five-year ownership cost, cost per kilometre, and monthly expenses.
This allows the platform to sort vehicles efficiently using calculated data rather than repeatedly running every calculation during page rendering.
Data Integrity: Building a Price Verification System
A comparison platform is only useful when its underlying data is trustworthy.
During development, I identified inconsistencies in automotive listing prices, including figures that did not accurately reflect the actual vehicle price range.
Rather than treating every collected price as reliable, I implemented a price provenance system.
Each price has a confidence tier:
- Tier 1: Verified against a manufacturer’s official published price list.
- Tier 2: Supported by a reliable published reference.
- Tier 3: Based on an alternative reference or source requiring additional validation.
- Tier 4: Estimated.
The platform also includes two administrative tools.
Price Verification Dashboard
(enlarge image)This dashboard helps administrators identify which vehicle prices need attention.
It prioritizes:
- Missing prices.
- Estimated prices.
- Outdated figures.
- Records requiring manual verification.
The goal is to make price validation a structured administrative process rather than an informal spreadsheet exercise.
Automated Manufacturer Price Checker
(enlarge image)I developed a weekly price-checking utility that reads manufacturers’ publicly available price lists.
Its safeguards include:
- Manufacturer sources only.
- Respect for robots.txt.
- No attempts to bypass bot protection.
- Automatic handling of small changes.
- Manual review for significant price changes.
- Protection against overwriting manually verified prices.
Every change is recorded with its previous data, allowing administrators to review and reverse updates when necessary.
Development transparency: The initial catalogue contains 121 vehicle variants, but all sample prices remain marked as seed estimates until individually verified. The verification interface and automated checking workflow are designed to support this process.
Technical SEO and Structured Data
Search visibility was considered during the application’s architecture rather than being added as an afterthought.
The platform generates search-friendly pages for vehicle variants, comparisons, rankings, and calculators.
Technical SEO implementation includes:
- Canonical URL generation.
- XML sitemaps.
- Breadcrumb navigation.
- Indexing and noindex rules.
- Structured data.
- Dynamic metadata.
- Context-specific FAQ content.
FAQ content is generated from the actual vehicle records, allowing answers to reflect the figures associated with each vehicle rather than repeating generic questions and answers.
The structured data is designed to match the information presented to visitors.
This helps maintain consistency between the visible content and its machine-readable representation.
UI/UX and Mobile Performance
(enlarge image)The visual direction is called Asphalt & Signal Orange.
It combines warm paper-inspired backgrounds, dark panels for important financial information, and orange accents for interactive elements.
The design uses automotive-inspired details without sacrificing readability.
Key interface considerations include:
- Mobile-first layouts.
- Readable financial summaries.
- Clear cost breakdowns.
- Lightweight JavaScript.
- Self-hosted fonts.
- No unnecessary external requests.
- Dark mode with a system preference option.
- Reduced-motion support.
I also explored a dark translucent design and subsequently reverted it after evaluating its performance implications on lower-powered mobile devices.
The final direction prioritizes clarity, accessibility, and practical performance.
Automated Testing and Quality Assurance
A custom application needs more than a visual check to establish that its calculations and functionality work correctly.
I created a lightweight PHP testing environment using a WordPress stub, allowing the theme’s application logic to be tested without requiring a full WordPress installation.
The project currently has:
- 23 automated test suites.
- 2,646 assertions.
- Tests covering the three calculation engines.
- Tests covering all 121 vehicle catalogue records.
- Hook registration and callback validation.
- Checks for invalid or implausible input data.
The WordPress stub follows core function signatures rather than allowing overly permissive test behavior.
This helped uncover real implementation issues that might otherwise have gone unnoticed until runtime.
The result is a more controlled development process, with repeatable checks for application logic, data consistency, and integration points.
Project Status and Next Development Phase
CarCompare PH is currently in development, with the custom WordPress theme at version 1.8.0.
The core application architecture, calculation engines, vehicle catalogue, comparison functionality, administrative tools, and testing infrastructure have been implemented.
The next phase focuses on preparing the data and platform for public launch.
Priorities include:
- Verifying the top 40 vehicle variants based on search demand.
- Establishing a consistent weekly fuel price update process.
- Expanding the financing comparison experience.
- Adding a dealer quote checker.
- Developing a budget-first vehicle finder.
- Creating shareable comparison cards for Messenger and Viber.
These improvements are intended to make the platform more useful for actual vehicle purchase decisions.
