🪑

Furniture - Page 1

Showing page 1 of 5

Path: /marketplace/home/furniture/1
3
Path Depth
345
Total Items
1
Current Page
12
Items Shown

Nested Marketplace Route

File: /marketplace/[...path].astro
Handles: /marketplace/category/subcategory/page
Current path: ["home", "furniture", "1"]
Parsed as: Category: "home", Subcategory: "furniture", Page: "1"
🪑

Samsung furnitur 1

$1022
★ 4.3

102 reviews

🪑

Sony furnitur 2

$911
★ 4.3

223 reviews

🪑

LG furnitur 3

$800
★ 3.7

312 reviews

🪑

Dell furnitur 4

$691
★ 3.9

73 reviews

🪑

HP furnitur 5

$213
★ 4.0

275 reviews

🪑

Nike furnitur 6

$247
★ 3.8

168 reviews

🪑

Adidas furnitur 7

$197
★ 3.6

453 reviews

🪑

Apple furnitur 8

$768
★ 3.9

465 reviews

🪑

Samsung furnitur 9

$169
★ 4.1

452 reviews

🪑

Sony furnitur 10

$673
★ 4.2

385 reviews

🪑

LG furnitur 11

$922
★ 4.2

430 reviews

🪑

Dell furnitur 12

$938
★ 4.7

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