🪑
Furniture - Page 5
Showing page 5 of 5
Path: /marketplace/home/furniture/5
3
Path Depth
345
Total Items
5
Current Page
12
Items Shown
Nested Marketplace Route
File:
/marketplace/[...path].astro
Handles:
/marketplace/category/subcategory/page
Current path:
["home", "furniture", "5"]
Parsed as:
Category: "home", Subcategory: "furniture", Page: "5"
🪑
Samsung furnitur 49
$388
★ 4.4
328 reviews
🪑
Sony furnitur 50
$290
★ 4.0
376 reviews
🪑
LG furnitur 51
$563
★ 4.2
155 reviews
🪑
Dell furnitur 52
$785
★ 4.5
262 reviews
🪑
HP furnitur 53
$932
★ 3.7
342 reviews
🪑
Nike furnitur 54
$787
★ 4.5
170 reviews
🪑
Adidas furnitur 55
$626
★ 4.4
455 reviews
🪑
Apple furnitur 56
$957
★ 3.5
317 reviews
🪑
Samsung furnitur 57
$575
★ 3.5
400 reviews
🪑
Sony furnitur 58
$683
★ 3.6
333 reviews
🪑
LG furnitur 59
$297
★ 4.0
229 reviews
🪑
Dell furnitur 60
$114
★ 4.7
278 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>