🪑
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
$870
★ 3.7
83 reviews
🪑
Sony furnitur 26
$921
★ 4.6
265 reviews
🪑
LG furnitur 27
$952
★ 3.5
273 reviews
🪑
Dell furnitur 28
$878
★ 4.6
405 reviews
🪑
HP furnitur 29
$521
★ 4.9
258 reviews
🪑
Nike furnitur 30
$769
★ 4.3
326 reviews
🪑
Adidas furnitur 31
$182
★ 4.0
250 reviews
🪑
Apple furnitur 32
$861
★ 3.8
66 reviews
🪑
Samsung furnitur 33
$146
★ 4.2
22 reviews
🪑
Sony furnitur 34
$884
★ 3.7
305 reviews
🪑
LG furnitur 35
$535
★ 3.6
90 reviews
🪑
Dell furnitur 36
$375
★ 3.9
342 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>