Reducer function that catches actions and changes/overwrites product entities state.
@param state current State of the redux store @param action ProductGrid, BestSellers, or Product actions @returns Product entities state