🍳
Kitchen - Page 2
Showing page 2 of 5
Path: /marketplace/home/kitchen/2
3
Path Depth
223
Total Items
2
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "kitchen", "2"]
Parsed as:
Category: "home", Subcategory: "kitchen", Page: "2"
🍳
HP kitche 13
$540
★ 5.0
188 reviews
🍳
Nike kitche 14
$817
★ 4.5
35 reviews
🍳
Adidas kitche 15
$1027
★ 4.8
37 reviews
🍳
Apple kitche 16
$192
★ 4.8
229 reviews
🍳
Samsung kitche 17
$868
★ 3.8
402 reviews
🍳
Sony kitche 18
$505
★ 4.8
165 reviews
🍳
LG kitche 19
$312
★ 4.1
460 reviews
🍳
Dell kitche 20
$360
★ 4.4
336 reviews
🍳
HP kitche 21
$254
★ 4.5
461 reviews
🍳
Nike kitche 22
$376
★ 4.2
332 reviews
🍳
Adidas kitche 23
$673
★ 4.3
318 reviews
🍳
Apple kitche 24
$405
★ 4.4
315 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>