🪑
Furniture - Page 2
Showing page 2 of 5
Path: /marketplace/home/furniture/2
3
Path Depth
345
Total Items
2
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "furniture", "2"]
Parsed as:
Category: "home", Subcategory: "furniture", Page: "2"
🪑
HP furnitur 13
$528
★ 3.9
438 reviews
🪑
Nike furnitur 14
$1030
★ 4.8
315 reviews
🪑
Adidas furnitur 15
$290
★ 4.6
325 reviews
🪑
Apple furnitur 16
$741
★ 4.0
220 reviews
🪑
Samsung furnitur 17
$1014
★ 3.9
369 reviews
🪑
Sony furnitur 18
$106
★ 4.3
173 reviews
🪑
LG furnitur 19
$995
★ 4.6
237 reviews
🪑
Dell furnitur 20
$296
★ 4.5
43 reviews
🪑
HP furnitur 21
$1032
★ 4.5
291 reviews
🪑
Nike furnitur 22
$246
★ 3.8
419 reviews
🪑
Adidas furnitur 23
$723
★ 4.6
271 reviews
🪑
Apple furnitur 24
$488
★ 4.8
106 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>