While Bowling Green was shut down for Independence Day, I figured I would make it a priority to finish pulling in the 2022 data during that week. All of the data is in the database and I have no begun making it available on the site. When I first built the site I tried to make it work with multiple model years of data, but since I only had 2023 data I didn't really have a way to test it. Now I am finding some things needs tweaked to play nice with more model years, so I'm currently working through that.
Tonight I got the dealers section working with 2022 and 2023 model year data. From the Dealers list you can select a model year at the top of the page, or you can select the model year from the dealers detail page. I've seen some weirdness in the build dates for the 2022 window stickers, but it seems like a small percentage of cars. For example, go to the MacMulkin page, select 2022, you'll see 1 random car that was supposedly built in Sept 2022... which is 4 months after production stopped for MY22. I'll have to make some adjustments to some of these build dates that don't make sense. If you remember when the site was still pretty new, there was some strange dates in the 2023 Stingray data that I had to manually modify so it made sense.. so I'll be doing the same with the 2022s at some point.
For now, the dealers section is working pretty well with the 2022 and 2023 data. I want to go back and refine some things.. such as add some logic to prevent you from looking for 2022 Z06 data.. as it doesn't exist. But for now what I have works.
Next I will probably work on the dealers comparison pages and the vehicle list. They should be pretty easy. The dashboard pages will be a pain, saving them for last.