Add code from models/products.js