Title: First Order Coupon
Author: Ehsan Didban
Published: <strong>22 กรกฎาคม 2025</strong>
Last modified: 22 กรกฎาคม 2025

---

Search plugins

![](https://ps.w.org/first-order-coupon/assets/banner-772x250.png?rev=3332183)

![](https://ps.w.org/first-order-coupon/assets/icon-256x256.png?rev=3332183)

# First Order Coupon

 By [Ehsan Didban](https://profiles.wordpress.org/e93didban/)

[Download](https://downloads.wordpress.org/plugin/first-order-coupon.1.1.1.zip)

 * [Details](https://th.wordpress.org/plugins/first-order-coupon/#description)
 * [Reviews](https://th.wordpress.org/plugins/first-order-coupon/#reviews)
 *  [Installation](https://th.wordpress.org/plugins/first-order-coupon/#installation)
 * [Development](https://th.wordpress.org/plugins/first-order-coupon/#developers)

 [Support](https://wordpress.org/support/plugin/first-order-coupon/)

## Description

This plugin adds a checkbox to WooCommerce coupon settings that restricts coupon
usage only to logged-in users on their first order.

**Key Features:**
 – Seamless integration with WooCommerce coupons – Restricts usage
to logged-in users only (account required) – Checks previous orders based on user
ID and order status (processing or completed) – Lightweight and fast – Multi-language
support (English and Persian) – Fully compatible with WooCommerce 8.9 and above

### افزونه کوپن خرید اول ووکامرس

توسعه‌دهنده: e93didban
 برچسب‌ها: ووکامرس، کوپن، خرید اول، تخفیف، محدودیت کاربر،
ورود به سیستم نیاز به وردپرس نسخه: ۵.۰ به بالا تست شده تا: ۶.۸.۱ نیاز به PHP نسخه:
۷.۲ به بالا نسخه پایدار: ۱.۱ مجوز: GPLv2 یا بالاتر آدرس مجوز: https://www.gnu.org/
licenses/gpl-2.0.html

ساخت کوپن تخفیف فقط برای خریداران وارد شده که برای اولین بار خرید می‌کنند. محدود
کردن استفاده از کوپن فقط به اولین سفارش کاربر و نیاز به ورود به حساب کاربری.

### معرفی افزونه

این افزونه گزینه‌ای جدید به بخش تنظیمات کوپن‌های ووکامرس اضافه می‌کند تا استفاده
از کوپن فقط برای کاربران وارد شده و اولین سفارش آنها معتبر باشد.

**ویژگی‌های کلیدی:**
 – یکپارچه‌سازی کامل با سیستم کوپن ووکامرس – محدود کردن استفاده
کوپن به کاربران وارد شده (نیاز به حساب کاربری) – بررسی سفارش‌های قبلی بر اساس شناسه
کاربری و وضعیت سفارش «در حال پردازش» یا «تکمیل شده» – سبک و سریع – پشتیبانی از زبان
فارسی و انگلیسی – کاملاً سازگار با ووکامرس نسخه ۸.۹ و بالاتر

### نصب افزونه

۱. پوشه افزونه را در مسیر `/wp-content/plugins/` آپلود کنید.
 ۲. از منوی «افزونه‌ها»
در وردپرس، افزونه را فعال کنید. ۳. کوپن جدید بسازید و گزینه «فقط برای اولین سفارش»
را در بخش «محدودیت استفاده» فعال کنید.

### سوالات متداول

#### آیا کاربر باید وارد سایت شود تا بتواند از این کوپن استفاده کند؟

بله، این کوپن فقط برای کاربران وارد شده معتبر است و کاربران مهمان نمی‌توانند از 
آن استفاده کنند.

#### افزونه چطور متوجه می‌شود که کاربر اولین بار خرید می‌کند؟

با بررسی سفارش‌های قبلی کاربر بر اساس شناسه کاربری و وضعیت سفارش «در حال پردازش»
یا «تکمیل شده».

فقط سفارش‌هایی با وضعیت «تکمیل شده» یا «در حال پردازش» برای تشخیص اولین خرید کاربر
در نظر گرفته می‌شوند.

### تصاویر افزونه

 1. گزینه جدید در تنظیمات کوپن ووکامرس
 2. پیام خطا هنگام عدم احراز شرایط کوپن (مثلاً کاربر وارد نشده یا اولین سفارش نیست)

### تاریخچه تغییرات

#### ۱.۱.۱

 * حذف تابع load_plugin_textdomain برای سازگاری بهتر با وردپرس نسخه ۴.۶ به بالا
 * حذف پوشه assets از فایل زیپ افزونه مطابق با استانداردهای مخزن وردپرس

#### 1.1

 * اضافه شدن پشتیبانی چندزبانه
 * توضیح بیشتر در مورد نیاز به ورود کاربر برای استفاده از کوپن

#### 1.0

 * انتشار اولیه

### نکات به‌روزرسانی

#### 1.1

اضافه شدن پشتیبانی چندزبانه و توضیح نیاز ورود به سیستم برای استفاده از کوپن. به‌روزرسانی
توصیه می‌شود.

#### ۱.۱.۱

بهبود ساختار افزونه برای سازگاری با استانداردهای مخزن وردپرس. تابع ترجمه قدیمی و
فایل‌های تصویری حذف شده‌اند.

## Screenshots

[⌊Checkbox option in WooCommerce coupon settings⌉⌊Checkbox option in WooCommerce
coupon settings⌉[

Checkbox option in WooCommerce coupon settings

[⌊Error message displayed when coupon conditions are not met (e.g., user not logged
in or not first order)⌉⌊Error message displayed when coupon conditions are not met(
e.g., user not logged in or not first order)⌉[

Error message displayed when coupon conditions are not met (e.g., user not logged
in or not first order)

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin via the “Plugins” menu in WordPress.
 3. Create a new coupon and enable the “First order only” checkbox under “Usage restriction.”

## FAQ

### Does the user need to be logged in to use this coupon?

Yes, this coupon is only valid for logged-in users on their first order. Guests 
cannot use this coupon.

### How does the plugin detect the first order?

By checking previous orders of the logged-in user based on user ID and order status“
processing” or “completed.”

Only completed or processing orders are counted when determining if the user has
placed a previous order.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“First Order Coupon” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Ehsan Didban ](https://profiles.wordpress.org/e93didban/)

[Translate “First Order Coupon” into your language.](https://translate.wordpress.org/projects/wp-plugins/first-order-coupon)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/first-order-coupon/),
check out the [SVN repository](https://plugins.svn.wordpress.org/first-order-coupon/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/first-order-coupon/)
by [RSS](https://plugins.trac.wordpress.org/log/first-order-coupon/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Removed load_plugin_textdomain call for WordPress 4.6+ compatibility
 * Removed asset files from plugin ZIP to comply with repository guidelines

#### 1.1

 * Added multi-language support
 * Clarified login requirement for coupon usage

#### 1.0

 * Initial release

## Meta

 *  Version **1.1.1**
 *  Last updated **11 เดือน ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/first-order-coupon/)
 * Tags
 * [coupon](https://th.wordpress.org/plugins/tags/coupon/)[discount](https://th.wordpress.org/plugins/tags/discount/)
   [first order](https://th.wordpress.org/plugins/tags/first-order/)[user restriction](https://th.wordpress.org/plugins/tags/user-restriction/)
   [woocommerce](https://th.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://th.wordpress.org/plugins/first-order-coupon/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/first-order-coupon/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/first-order-coupon/reviews/)

## Contributors

 *   [ Ehsan Didban ](https://profiles.wordpress.org/e93didban/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/first-order-coupon/)