🪑

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

$604
4.5

372 reviews

🪑

Nike furnitur 38

$956
4.2

126 reviews

🪑

Adidas furnitur 39

$837
4.3

160 reviews

🪑

Apple furnitur 40

$482
4.8

256 reviews

🪑

Samsung furnitur 41

$126
4.7

148 reviews

🪑

Sony furnitur 42

$486
3.6

407 reviews

🪑

LG furnitur 43

$758
4.9

298 reviews

🪑

Dell furnitur 44

$1029
3.7

490 reviews

🪑

HP furnitur 45

$534
3.6

310 reviews

🪑

Nike furnitur 46

$952
4.2

456 reviews

🪑

Adidas furnitur 47

$778
4.7

271 reviews

🪑

Apple furnitur 48

$662
4.0

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