# Frontend

This directory contains all frontend-facing classes for the Bizzmudra plugin.

## Files

| File | Description |
|------|-------------|
| `Switcher.php` | Renders the currency switcher dropdown, registers the shortcode `[bizzmudra_currency_switcher]`, and handles AJAX currency switching. |
| `PublicHandler.php` | Manages frontend display logic: enqueues scripts/styles, sets up display position hooks, and modifies WooCommerce currency/price formatting filters. |
| `Widget.php` | WordPress widget that displays the currency switcher in any widget area. |

## Available Shortcode

```
[bizzmudra_currency_switcher]
```

## Display Positions

The switcher can be positioned via settings:
- `shop_page` - Before shop loop
- `footer` - Fixed bottom-right
- `floating_left` - Fixed left side
- `floating_right` - Fixed right side
- `none` - Manual placement only (shortcode/widget)
