summaryrefslogtreecommitdiff
path: root/src/pages/shop/brands
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-10-11 10:22:11 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-10-11 10:22:11 +0700
commitf1d9a308f61e67f4c896608e73ac8413f61fa8af (patch)
tree5df46a369dff072a0d237197e84049b885b92280 /src/pages/shop/brands
parent3c4e65912b63c7abdd51747804283dadb09082b3 (diff)
Add breadcrumb on detail product, search, brand, category page
Diffstat (limited to 'src/pages/shop/brands')
-rw-r--r--src/pages/shop/brands/[slug].jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pages/shop/brands/[slug].jsx b/src/pages/shop/brands/[slug].jsx
index 88f19bc0..d75475b7 100644
--- a/src/pages/shop/brands/[slug].jsx
+++ b/src/pages/shop/brands/[slug].jsx
@@ -3,6 +3,7 @@ import { getIdFromSlug, getNameFromSlug } from '@/core/utils/slug'
import { useRouter } from 'next/router'
import _ from 'lodash'
import Seo from '@/core/components/Seo'
+import Breadcrumb from '@/lib/brand/components/Breadcrumb'
const BasicLayout = dynamic(() => import('@/core/components/layouts/BasicLayout'))
const ProductSearch = dynamic(() => import('@/lib/product/components/ProductSearch'))
@@ -26,6 +27,8 @@ export default function BrandDetail() {
]}
/>
+ <Breadcrumb brandName={brandName} />
+
<Brand id={getIdFromSlug(slug)} />
{!_.isEmpty(router.query) && (
<ProductSearch