🍳
Kitchen - Page 5
Showing page 5 of 5
Path: /marketplace/home/kitchen/5
3
Path Depth
223
Total Items
5
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "kitchen", "5"]
Parsed as:
Category: "home", Subcategory: "kitchen", Page: "5"
🍳
Samsung kitche 49
$542
★ 4.0
166 reviews
🍳
Sony kitche 50
$785
★ 4.8
152 reviews
🍳
LG kitche 51
$447
★ 3.6
67 reviews
🍳
Dell kitche 52
$368
★ 3.6
371 reviews
🍳
HP kitche 53
$832
★ 3.6
497 reviews
🍳
Nike kitche 54
$980
★ 3.8
62 reviews
🍳
Adidas kitche 55
$894
★ 4.8
24 reviews
🍳
Apple kitche 56
$319
★ 4.4
200 reviews
🍳
Samsung kitche 57
$435
★ 4.3
472 reviews
🍳
Sony kitche 58
$411
★ 4.4
503 reviews
🍳
LG kitche 59
$602
★ 4.3
99 reviews
🍳
Dell kitche 60
$179
★ 4.5
504 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>