🍳
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
$475
★ 3.7
451 reviews
🍳
Sony kitche 50
$1016
★ 4.3
429 reviews
🍳
LG kitche 51
$60
★ 4.7
397 reviews
🍳
Dell kitche 52
$558
★ 3.9
77 reviews
🍳
HP kitche 53
$964
★ 5.0
148 reviews
🍳
Nike kitche 54
$323
★ 4.0
294 reviews
🍳
Adidas kitche 55
$302
★ 3.9
483 reviews
🍳
Apple kitche 56
$145
★ 4.0
229 reviews
🍳
Samsung kitche 57
$87
★ 4.7
81 reviews
🍳
Sony kitche 58
$689
★ 3.9
21 reviews
🍳
LG kitche 59
$896
★ 4.5
93 reviews
🍳
Dell kitche 60
$646
★ 4.8
123 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>