Rent X Exotic Car Rental Website

Visit Site

Context

Rent X is an exotic car rental company dealership in Southern California that was looking to establish a strong website in order to take advantage of SEO marketing, and tie their online presence together.

Goals

  • establish a strong online presence
  • develop and execute an SEO strategy
  • convert online followers into clients

Colors

The green is carried over from the original branding, and is used for visual highlights.

  • #8BE8CB

    This green is inherited from the original logo, and is used for call-to-action highlights across the website

  • #000

    Black is used for its legibility and contrast

Detailed Explanations

It's important to recognize that not all products are the same, and user's have preferences.

Vehicles vary in desirability on a daily basis, if SUV's are more popular than supercars on mondays, they should be shown first on every monday.

We can track the popularity of certain vehicles across time, and use this to maximize profit.

By using an algorithm you can discover which vehicles are most desired at the current time and available. We order the cars so that the vehicles that are most likely to be rented are shown first.

    Source Code

  • PHP
    
    // get sql table column name
    $column_name = $day_of_week . '_points';
    
    // get a list of all available cars
    $car_ids = []; // initialize an empty array
    $sql = "SELECT id FROM cars WHERE disabled = 0"; // query to fetch active cars
    $result = $database->query($sql);
    
    if ($result) { // check if the query was successful
        while ($row = $result->fetch_array()) {
            $car_ids[] = $row['id']; // add car id to the array
        }
    } else {
        // handle query error
        die("Error fetching car IDs: " . $database->error);
    }
    
    // get each car's points for the current day
    $car_ids_vs_daily_points = []; // initialize an empty array
    foreach ($car_ids as $car_id) {
        $stmt = $database->prepare("SELECT {$column_name} FROM points_by_day_of_the_week WHERE id = ?"); // prepared statement
        $stmt->bind_param("i", $car_id); // bind car_id as an integer
    
        if ($stmt->execute()) { // check if the statement was executed successfully
            $result = $stmt->get_result(); // get the result set
            while ($row = $result->fetch_array()) {
                $car_ids_vs_daily_points[] = [$car_id, $row[$column_name]]; // add car id and points to array
            }
        } else {
            // handle query error
            die("Error fetching points for car ID {$car_id}: " . $stmt->error);
        }
        $stmt->close(); // close the statement
    }
    
    // order cars by least to most popular based on points
    usort($car_ids_vs_daily_points, function ($a, $b) {
        return $a[1] <=> $b[1]; // sort by points
    });
    
  • View Source Code

Testimonials

Showcasing positive customer feedback is key in online business; positive testimonials greatly increase customer confidence. In an age where consumers are bombarded with choices, testimonials provide relatable insights that can influence purchasing decisions.

Customer testimonials have the highest effectiveness rating for content marketing at 89%