🪑

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

$671
4.1

128 reviews

🪑

Nike furnitur 14

$52
4.4

485 reviews

🪑

Adidas furnitur 15

$785
4.3

149 reviews

🪑

Apple furnitur 16

$827
4.6

277 reviews

🪑

Samsung furnitur 17

$939
3.5

438 reviews

🪑

Sony furnitur 18

$82
4.2

328 reviews

🪑

LG furnitur 19

$470
4.1

71 reviews

🪑

Dell furnitur 20

$845
4.8

474 reviews

🪑

HP furnitur 21

$219
3.5

263 reviews

🪑

Nike furnitur 22

$188
3.8

260 reviews

🪑

Adidas furnitur 23

$875
4.2

433 reviews

🪑

Apple furnitur 24

$843
5.0

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