🍳
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
$665
★ 4.2
466 reviews
🍳
Sony kitche 50
$193
★ 4.2
349 reviews
🍳
LG kitche 51
$229
★ 4.2
426 reviews
🍳
Dell kitche 52
$197
★ 3.9
162 reviews
🍳
HP kitche 53
$1005
★ 4.7
30 reviews
🍳
Nike kitche 54
$987
★ 4.7
35 reviews
🍳
Adidas kitche 55
$369
★ 3.6
80 reviews
🍳
Apple kitche 56
$271
★ 4.5
379 reviews
🍳
Samsung kitche 57
$784
★ 4.9
38 reviews
🍳
Sony kitche 58
$284
★ 3.7
418 reviews
🍳
LG kitche 59
$203
★ 3.9
263 reviews
🍳
Dell kitche 60
$256
★ 4.5
383 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>