# Store Navigation Update Guide

All store owner pages should use the reusable navigation component.

## How to Update a Store Page

1. **Add the include** (after getting the `$store` variable):
```php
// Include reusable navigation
require_once 'includes/store_nav.php';
```

2. **Replace the navigation HTML** with:
```php
<?php renderStoreNav($store, 'page_id'); ?>
```

3. **Remove duplicate mobile menu JavaScript** if it exists.

## Page IDs for Current Page Highlighting

- `dashboard` - store_dashboard.php
- `pricing` - store_pricing.php
- `customer_pricing` - store_customer_pricing.php
- `orders` - store_orders.php
- `topup` - store_topup.php
- `paystack` - store_paystack_settings.php
- `history` - Balance History page
- `password` - store_change_password.php
- `view_store` - View Store link

## Pages That Need Updating

- [x] store_dashboard.php
- [x] store_pricing.php
- [x] store_change_password.php
- [ ] store_customer_pricing.php
- [ ] store_orders.php
- [ ] store_topup.php
- [ ] store_paystack_settings.php
- [ ] store_customization.php
- [ ] store_daily_transactions.php
- [ ] store_subagent_topups.php
- [ ] store_agents_balance_history.php
- [ ] store_setup.php

