🍳
Kitchen - Page 3
Showing page 3 of 5
Path: /marketplace/home/kitchen/3
3
Path Depth
223
Total Items
3
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "kitchen", "3"]
Parsed as:
Category: "home", Subcategory: "kitchen", Page: "3"
🍳
Samsung kitche 25
$185
★ 4.9
423 reviews
🍳
Sony kitche 26
$742
★ 4.8
141 reviews
🍳
LG kitche 27
$384
★ 4.3
42 reviews
🍳
Dell kitche 28
$85
★ 4.4
36 reviews
🍳
HP kitche 29
$1044
★ 4.1
326 reviews
🍳
Nike kitche 30
$800
★ 4.9
304 reviews
🍳
Adidas kitche 31
$236
★ 4.8
339 reviews
🍳
Apple kitche 32
$795
★ 3.6
312 reviews
🍳
Samsung kitche 33
$776
★ 4.8
337 reviews
🍳
Sony kitche 34
$427
★ 4.2
182 reviews
🍳
LG kitche 35
$539
★ 4.4
279 reviews
🍳
Dell kitche 36
$458
★ 3.6
99 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>