🪑
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
$302
★ 4.6
176 reviews
🪑
Sony furnitur 26
$511
★ 4.1
87 reviews
🪑
LG furnitur 27
$642
★ 4.5
400 reviews
🪑
Dell furnitur 28
$969
★ 4.0
490 reviews
🪑
HP furnitur 29
$616
★ 3.5
58 reviews
🪑
Nike furnitur 30
$309
★ 4.7
274 reviews
🪑
Adidas furnitur 31
$864
★ 4.4
240 reviews
🪑
Apple furnitur 32
$120
★ 3.8
41 reviews
🪑
Samsung furnitur 33
$351
★ 4.1
452 reviews
🪑
Sony furnitur 34
$638
★ 4.9
67 reviews
🪑
LG furnitur 35
$880
★ 3.9
416 reviews
🪑
Dell furnitur 36
$823
★ 4.6
404 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>