🍳
Kitchen - Page 4
Showing page 4 of 5
Path: /marketplace/home/kitchen/4
3
Path Depth
223
Total Items
4
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "kitchen", "4"]
Parsed as:
Category: "home", Subcategory: "kitchen", Page: "4"
🍳
HP kitche 37
$714
★ 4.3
221 reviews
🍳
Nike kitche 38
$382
★ 4.4
105 reviews
🍳
Adidas kitche 39
$999
★ 4.9
212 reviews
🍳
Apple kitche 40
$514
★ 3.9
319 reviews
🍳
Samsung kitche 41
$95
★ 3.7
146 reviews
🍳
Sony kitche 42
$801
★ 4.0
297 reviews
🍳
LG kitche 43
$787
★ 3.9
122 reviews
🍳
Dell kitche 44
$708
★ 3.6
373 reviews
🍳
HP kitche 45
$572
★ 3.8
486 reviews
🍳
Nike kitche 46
$879
★ 3.6
51 reviews
🍳
Adidas kitche 47
$962
★ 3.7
140 reviews
🍳
Apple kitche 48
$255
★ 4.5
425 reviews
Try These Marketplace Paths
/marketplace/electronics → Electronics category /marketplace/electronics/phones → Phone subcategory /marketplace/electronics/phones/2 → Page 2 of phones /marketplace/clothing/shoes/1 → Page 1 of shoes Nested Marketplace Implementation
---
// File: /marketplace/[...path].astro
export function getStaticPaths() {
// Pre-generate all possible marketplace paths
return [
{ params: { path: 'electronics' } },
{ params: { path: 'electronics/phones' } },
{ params: { path: 'electronics/phones/1' } },
{ params: { path: 'electronics/phones/2' } },
// ... more paths
];
}
const { path } = Astro.params;
const [category, subcategory, page] = path.split('/');
---
<h1>{category} → {subcategory} → Page {page}</h1>