=== Tajra | تجرة ===
Contributors: tajraplatform
Tags: ecommerce, storefront, tajra, headless
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.4.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WordPress to Tajra for products, cart, checkout, and order tracking.

== Description ==

Use Tajra as your commerce backend while WordPress powers your marketing site and design.

REST routes under `tajra/v1` proxy your configured Tajra storefront API. Read-only catalog routes (products, categories, blogs, jobs) are intentionally public, matching a public storefront. Customer account, loyalty, and order lookup routes require a Tajra customer session or order tracking token. Write routes require the WordPress REST nonce (`X-WP-Nonce`).

== Installation ==

1. Upload the plugin to `/wp-content/plugins/tajra/`
2. Activate through the 'Plugins' menu
3. Configure under Settings → Tajra | تجرة

== Changelog ==

= 1.4.3 =
* Plugin Check: phpcs scope for read-only query helpers and WP-CLI meta lookup

= 1.4.2 =
* Plugin Check: translators comment, escaped price output, query param helpers
* Template phpcs scope; cache/CLI phpcs annotations for intentional DB usage

= 1.4.1 =
* REST permission callbacks for customer and order routes; public catalog routes documented
* Webhook signature verified in permission_callback; HMAC key order corrected
* WordPress.org: contributor username, remove load_plugin_textdomain

= 1.4.0 =
* Storefront parity: variants, pricing, loyalty, wishlist, reviews, multi-store
* WordPress tab alignment with Tajra Admin external storefront settings
* WP-CLI: test_connection, purge_cache, sync_products

= 1.3.0 =
* Multi-store switcher, wishlist, reviews, loyalty, WP-CLI commands

= 1.2.0 =
* Webhooks, catalog cache, Elementor widgets, SEO meta

= 1.1.0 =
* Customer account (login, orders, profile, payment proof)
* Blogs and job vacancies shortcodes
* Coupon validation at checkout

= 1.0.0 =
* Initial release: products, cart, checkout, order success
