🪑
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
$55
★ 3.9
441 reviews
🪑
Sony furnitur 26
$1031
★ 4.7
147 reviews
🪑
LG furnitur 27
$306
★ 4.6
370 reviews
🪑
Dell furnitur 28
$267
★ 4.4
306 reviews
🪑
HP furnitur 29
$830
★ 3.6
462 reviews
🪑
Nike furnitur 30
$342
★ 3.9
218 reviews
🪑
Adidas furnitur 31
$583
★ 4.2
107 reviews
🪑
Apple furnitur 32
$530
★ 4.2
98 reviews
🪑
Samsung furnitur 33
$1031
★ 4.5
460 reviews
🪑
Sony furnitur 34
$195
★ 4.3
495 reviews
🪑
LG furnitur 35
$842
★ 4.1
313 reviews
🪑
Dell furnitur 36
$205
★ 4.8
125 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>