Title: First Order Coupon
Author: Ehsan Didban
Published: <strong>22 جولای 2025</strong>
Last modified: 22 جولای 2025

---

جستجوی افزونه‌ها

![](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

 توسط [Ehsan Didban](https://profiles.wordpress.org/e93didban/)

[دانلود](https://downloads.wordpress.org/plugin/first-order-coupon.1.1.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/first-order-coupon/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/first-order-coupon/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/first-order-coupon/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/first-order-coupon/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/first-order-coupon/)

## توضیحات

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

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

#### ۱.۱.۱

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

## عکس‌های صفحه

 * [[
 * 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)

## نصب

 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.”

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

### 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.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“First Order Coupon” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “First Order Coupon” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/first-order-coupon)

### علاقه‌ مند به توسعه هستید؟

[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).

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **1.1.1**
 *  Last updated **9 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 5.6 یا بالاتر **
 *  Tested up to **6.8.5**
 *  نگارش PHP ** 7.2 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/first-order-coupon/)
 * Tags
 * [coupon](https://fa.wordpress.org/plugins/tags/coupon/)[discount](https://fa.wordpress.org/plugins/tags/discount/)
   [first order](https://fa.wordpress.org/plugins/tags/first-order/)[user restriction](https://fa.wordpress.org/plugins/tags/user-restriction/)
   [woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/first-order-coupon/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/first-order-coupon/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/first-order-coupon/)