🪑

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

$600
4.1

439 reviews

🪑

Nike furnitur 38

$1042
4.2

33 reviews

🪑

Adidas furnitur 39

$497
4.6

414 reviews

🪑

Apple furnitur 40

$964
4.6

359 reviews

🪑

Samsung furnitur 41

$299
3.8

217 reviews

🪑

Sony furnitur 42

$105
4.8

274 reviews

🪑

LG furnitur 43

$915
3.6

462 reviews

🪑

Dell furnitur 44

$982
4.2

403 reviews

🪑

HP furnitur 45

$650
4.3

179 reviews

🪑

Nike furnitur 46

$403
4.7

396 reviews

🪑

Adidas furnitur 47

$639
5.0

16 reviews

🪑

Apple furnitur 48

$854
4.6

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