🪑

Furniture - Page 2

Showing page 2 of 5

Path: /marketplace/home/furniture/2
3
Path Depth
345
Total Items
2
Current Page
12
Items Shown

Nested Marketplace Route

File: /marketplace/[...path].astro
Handles: /marketplace/category/subcategory/page
Current path: ["home", "furniture", "2"]
Parsed as: Category: "home", Subcategory: "furniture", Page: "2"
🪑

HP furnitur 13

$1015
4.4

242 reviews

🪑

Nike furnitur 14

$650
4.5

437 reviews

🪑

Adidas furnitur 15

$401
3.5

171 reviews

🪑

Apple furnitur 16

$763
3.9

173 reviews

🪑

Samsung furnitur 17

$384
4.3

369 reviews

🪑

Sony furnitur 18

$1047
4.1

226 reviews

🪑

LG furnitur 19

$852
3.9

139 reviews

🪑

Dell furnitur 20

$169
3.8

509 reviews

🪑

HP furnitur 21

$480
3.8

316 reviews

🪑

Nike furnitur 22

$310
5.0

350 reviews

🪑

Adidas furnitur 23

$65
4.1

393 reviews

🪑

Apple furnitur 24

$731
3.6

43 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>