Closed MAVRICK-1 closed 8 months ago
@RickDeb2004 this must be solved our frontent is almost complete this is buggest bug .
@RickDeb2004 code base maay kuc change hoga then you can update and start
@RickDeb2004 aj ei complete kar Dena
are you sure we have to change this file only?
We have to change the Details page. Coz in previous dataset every category items has a unique ID But In new dataset only the subcategory products has unique ID
@RickDeb2004 If u can solve it go head or we have to switch to previous dataset coz their is not enough time
closed by #21
Describe the bug There is an issue with the routing path. Currently, when products are listed, the path appears as '/cat/groceries/dal-and-pulses', which corresponds to the category of the product. However, when clicking on an item, the routing changes to 'product/2', which leads to the wrong page.
Our main objective is to update the routing path to '/cat/groceries/dal-and-pulses/1', where '1' represents the product ID of 'dal-and-pulses'. This change is crucial because it allows us to easily track new products through their cart_item and ID when they are added to the system.
So make the changes accordingly https://github.com/SHANKARA-CODERS/e-commerce_website/blob/main/src/pages/Details/index.js This dynamic routing created in the above file
change the useParams according https://github.com/SHANKARA-CODERS/e-commerce_website/blob/main/src/pages/Details/index.js#L65C30
make changes to rectify it and also add the sufficient screenshots
This is bug must be resloved