change implementation
Eliminating unnecessary file
Add to the product model a field function product_id
update product model