In the past exercise, we created a catalog of products where we loaded products from the database or…