🪑

Furniture - Page 4

Showing page 4 of 5

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

Nested Marketplace Route

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

HP furnitur 37

$328
4.7

69 reviews

🪑

Nike furnitur 38

$621
4.2

428 reviews

🪑

Adidas furnitur 39

$664
4.7

374 reviews

🪑

Apple furnitur 40

$799
4.5

171 reviews

🪑

Samsung furnitur 41

$185
4.0

245 reviews

🪑

Sony furnitur 42

$584
4.2

124 reviews

🪑

LG furnitur 43

$916
4.5

434 reviews

🪑

Dell furnitur 44

$555
3.8

112 reviews

🪑

HP furnitur 45

$881
4.2

411 reviews

🪑

Nike furnitur 46

$869
3.6

454 reviews

🪑

Adidas furnitur 47

$361
4.2

129 reviews

🪑

Apple furnitur 48

$62
4.8

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