🪑
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
$1018
★ 4.9
380 reviews
🪑
Sony furnitur 26
$1000
★ 3.8
427 reviews
🪑
LG furnitur 27
$731
★ 4.0
20 reviews
🪑
Dell furnitur 28
$677
★ 3.8
101 reviews
🪑
HP furnitur 29
$290
★ 4.8
359 reviews
🪑
Nike furnitur 30
$170
★ 3.7
60 reviews
🪑
Adidas furnitur 31
$652
★ 4.1
299 reviews
🪑
Apple furnitur 32
$925
★ 4.8
65 reviews
🪑
Samsung furnitur 33
$68
★ 4.7
26 reviews
🪑
Sony furnitur 34
$613
★ 3.8
10 reviews
🪑
LG furnitur 35
$879
★ 4.1
241 reviews
🪑
Dell furnitur 36
$138
★ 5.0
14 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>