Closed itsalb3rt closed 2 years ago
Description
When users are in a product details screen, loading the ship history related to the detailed product helps to check price history fast.
Posible solution
Create end point in the API for fetch product in history.
The purchase details no have the product id in the structure, the proposal is adding the product ID with null constrain;
product id
ALTER TABLE sheiley_shop.purchases_details ADD id_product INT NULL;
Description
When users are in a product details screen, loading the ship history related to the detailed product helps to check price history fast.
Posible solution
Create end point in the API for fetch product in history.