🪑

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

$353
4.6

168 reviews

🪑

Nike furnitur 14

$454
3.6

236 reviews

🪑

Adidas furnitur 15

$121
4.6

80 reviews

🪑

Apple furnitur 16

$236
3.8

178 reviews

🪑

Samsung furnitur 17

$974
3.9

304 reviews

🪑

Sony furnitur 18

$449
4.0

40 reviews

🪑

LG furnitur 19

$140
4.6

406 reviews

🪑

Dell furnitur 20

$946
4.9

246 reviews

🪑

HP furnitur 21

$590
4.7

474 reviews

🪑

Nike furnitur 22

$685
3.5

365 reviews

🪑

Adidas furnitur 23

$484
3.8

505 reviews

🪑

Apple furnitur 24

$623
4.7

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