🪑
Furniture - Page 4
Showing page 4 of 5
Path: /marketplace/home/furniture/4
3
Path Depth
345
Total Items
4
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "furniture", "4"]
Parsed as:
Category: "home", Subcategory: "furniture", Page: "4"
🪑
HP furnitur 37
$274
★ 4.0
275 reviews
🪑
Nike furnitur 38
$451
★ 4.0
44 reviews
🪑
Adidas furnitur 39
$740
★ 4.3
347 reviews
🪑
Apple furnitur 40
$173
★ 4.0
437 reviews
🪑
Samsung furnitur 41
$985
★ 4.2
31 reviews
🪑
Sony furnitur 42
$293
★ 3.7
306 reviews
🪑
LG furnitur 43
$190
★ 4.9
333 reviews
🪑
Dell furnitur 44
$693
★ 4.2
186 reviews
🪑
HP furnitur 45
$541
★ 4.1
345 reviews
🪑
Nike furnitur 46
$329
★ 4.9
497 reviews
🪑
Adidas furnitur 47
$831
★ 4.0
133 reviews
🪑
Apple furnitur 48
$541
★ 5.0
265 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>