# 3DL – Google Merchant Feed (PRO-STRICT)

**Version:** 1.9.3.3  
**Requires WordPress:** 6.0+  
**Tested up to:** 6.9  
**Requires PHP:** 7.4+  
**License:** GPL-2.0-or-later

Generate high‑quality Google Merchant Center product feeds for WooCommerce with strict licensing (no dev/bypass). Multi‑feed profiles, unit price, GTIN/MPN/Brand helpers, Diagnostics, and cron‑built static feed.

## Highlights
- Multiple feed profiles (currency, UTM, currency_rate conversion)
- Proper unit price (měrná cena), price formatting, weight normalization
- Public REST/URL feed endpoint with optional `?profile=slug`
- Feeds (PRO) gating tied to strict license verification
- Diagnostics, Tools (Export/Import settings), GTIN Tester
- WP Cron static feed build (hourly/twicedaily/daily)
- Capability‐based access (`manage_woocommerce` by default)

## Admin Menu
- Settings
- GTIN Tester
- Diagnostics
- Feeds (PRO)
- Tools (Export/Import)
- License

## Installation
1. Upload the folder `3dl-google-merchant-feed` to `/wp-content/plugins/`.
2. Activate the plugin through **Plugins → Installed Plugins**.
3. Go to **3DL GMC → Settings** to configure basics.
4. If you have PRO license, open **3DL GMC → License** and activate it. Feeds (PRO) will unlock after successful verification.

### Feed URL
- Standard: `https://example.com/?3dl_gmc=1`
- Specific profile (PRO): `https://example.com/?3dl_gmc=1&profile=your-slug`

## Capabilities
By default the plugin requires the capability `manage_woocommerce` to access admin pages. You can change this by filtering the constant `THREEDL_GMC_CAP` early in your bootstrap if needed.

## Localization
Text domain: `3dl-gmc`  
Language files live in `languages/`. For manual installs, compile `.po` files into `.mo` (e.g. `cs_CZ.mo`) to enable translations.

## Changelog
### 1.9.3.3 — 2025-09-18
- Clean release structure (single top-level folder, no macOS artifacts).
- Unified capability checks to `THREEDL_GMC_CAP` for all admin pages.
- Enqueued `assets/admin.css` only on plugin screens.
- Updated license UA to `3DL-GMC-Client/1.9.3.3`.
- Set requirements to **WordPress 6.0+** and **PHP 7.4+** in plugin header.
- Maintained STRICT licensing (no bypass/dev).

### 1.9.3.2
- Profile `currency_rate` support and profile overrides applied to `?profile=...` feed output.

## Support / PRO
- EN: https://en.3dragonlabs.com/produkt/3dl-google-merchant-feed-pro/
- CZ: https://3dragonlabs.com/produkt/3dl-google-merchant-feed-pro/
