That was once the way inflation was thought of. But that is not the way inflation is used today. Today, it is indeed tied to the price of goods.
Here is a good explanation:
https://gisme.georgetown.edu/news/what-the-hell-is-inflation-anyway/Edited by KC rules at 15:09:38 on 08/15/24