🪑
Furniture - Page 1
Showing page 1 of 5
Path: /marketplace/home/furniture/1
3
Path Depth
345
Total Items
1
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "furniture", "1"]
Parsed as:
Category: "home", Subcategory: "furniture", Page: "1"
🪑
Samsung furnitur 1
$176
★ 4.4
58 reviews
🪑
Sony furnitur 2
$493
★ 3.9
258 reviews
🪑
LG furnitur 3
$523
★ 4.2
429 reviews
🪑
Dell furnitur 4
$232
★ 4.5
291 reviews
🪑
HP furnitur 5
$170
★ 4.1
428 reviews
🪑
Nike furnitur 6
$990
★ 3.6
332 reviews
🪑
Adidas furnitur 7
$452
★ 3.9
137 reviews
🪑
Apple furnitur 8
$491
★ 4.6
470 reviews
🪑
Samsung furnitur 9
$279
★ 3.7
106 reviews
🪑
Sony furnitur 10
$242
★ 3.6
114 reviews
🪑
LG furnitur 11
$576
★ 3.6
381 reviews
🪑
Dell furnitur 12
$354
★ 4.0
379 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>