-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCP-1082: Category List View, OCP-1055: [WIP] Order Confirmation Page, OCP-1043: Breadcrumbs, OCP-1050: show SalePrice in Product Detail #38
base: development
Are you sure you want to change the base?
Conversation
|
||
return partials.map((partial, index) => { | ||
const partialPath = `/${partials.slice(0, index + 1).join("/")}${ | ||
partial === "orders" ? "/incoming" : "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments on breadcrumbs:
- we can get rid of the order direction logic from admin here
- can we format category names to display a little nicer? (e.g. dog-beds --> Dog Beds)
- We'll have to rethink either the routing conventions or the breadcrumb solution because the Shop and {category} breadcrumbs are routing to 404 pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about Shop
routes to /products
and {catalog}
routes to /shop/{catalog}/products
?
probably best done by refactoring our routes.tsx to use the "official" breadcrumb solution?
https://reactrouter.com/en/main/hooks/use-matches#breadcrumbs
upgrade to latest, use recommended solution for breadcrumbs: https://reactrouter.com/en/main/hooks/use-matches#breadcrumbs
OCP-1082: Category Accordion View
OCP-1055: [WIP] Order Confirmation Page
OCP-1043: Breadcrumbs
OCP-1050: show SalePrice in Product Detail and Product Card