🪑

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

$1011
3.7

174 reviews

🪑

Nike furnitur 14

$957
4.5

477 reviews

🪑

Adidas furnitur 15

$505
4.6

460 reviews

🪑

Apple furnitur 16

$931
5.0

279 reviews

🪑

Samsung furnitur 17

$486
3.7

247 reviews

🪑

Sony furnitur 18

$493
3.8

202 reviews

🪑

LG furnitur 19

$663
3.7

400 reviews

🪑

Dell furnitur 20

$842
4.3

134 reviews

🪑

HP furnitur 21

$924
4.9

179 reviews

🪑

Nike furnitur 22

$668
4.6

175 reviews

🪑

Adidas furnitur 23

$197
3.8

331 reviews

🪑

Apple furnitur 24

$555
4.6

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