🪑
Furniture - Page 3
Showing page 3 of 5
Path: /marketplace/home/furniture/3
3
Path Depth
345
Total Items
3
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "furniture", "3"]
Parsed as:
Category: "home", Subcategory: "furniture", Page: "3"
🪑
Samsung furnitur 25
$542
★ 4.9
241 reviews
🪑
Sony furnitur 26
$67
★ 4.3
292 reviews
🪑
LG furnitur 27
$656
★ 4.8
89 reviews
🪑
Dell furnitur 28
$720
★ 4.2
424 reviews
🪑
HP furnitur 29
$476
★ 4.0
99 reviews
🪑
Nike furnitur 30
$248
★ 4.1
501 reviews
🪑
Adidas furnitur 31
$232
★ 3.8
414 reviews
🪑
Apple furnitur 32
$945
★ 3.8
92 reviews
🪑
Samsung furnitur 33
$1000
★ 4.3
96 reviews
🪑
Sony furnitur 34
$406
★ 4.7
411 reviews
🪑
LG furnitur 35
$624
★ 4.8
343 reviews
🪑
Dell furnitur 36
$793
★ 4.4
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>