[WordPress] 外掛分享: Conditional Email Tags for Easy Digital Downloads

前言介紹

  • 這款 WordPress 外掛「Conditional Email Tags for Easy Digital Downloads」是 2025-07-07 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-07-11,距離現在已有 229 天。
  • 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

misulicus |

外掛標籤

edd | email tags | email templates | conditional logic | easy digital downloads |

內容簡介

### 條件郵件標籤用於 Easy Digital Downloads 外掛讓您使用簡單的 {if ...}{/if} 標籤將智能動態內容添加到您的 EDD 電子郵件模板中。根據付款網關、訂單金額、使用者角色等,個性化您的客戶郵件!

#### 使用這個外掛的原因:
- 🧠 讓您的郵件更聰明、更相關
- 🛒 透過付款方式或訂單價值來定位郵件
- 👤 為不同使用者角色個性化內容
- 🔌 非常適合開發人員擴展使用
- 更多功能即將推出!

### 使用方法
在您的 EDD 電子郵件模板中添加條件區塊。以下是所有可用條件的工作範例:
1. 根據付款網關
- 僅適用於 Stripe 付款:
```
{if gateway="stripe"}This is only for Stripe payments.{/if}
```
- 僅適用於 PayPal 付款:
```
{if gateway="paypal"}This is only for PayPal payments.{/if}
```

2. 根據金額
- 訂單總額大於 $50:
```
{if amount=">50"}Shown if order total is greater than $50.{/if}
```
- 訂單總額少於或等於 $20:
```
{if amount="<20"}Shown if order total is $20 or less.{/if}
```
- 訂單總額正好是 $100:
```
{if amount="100"}Shown if order total is exactly $100.{/if}
```

3. 根據使用者角色
- 針對訂閱者:
```
{if user_role="subscriber"}Hello, valued subscriber!{/if}
```
- 針對具有 '管理員' 角色的客戶:
```
{if user_role="administrator"}Special message for admins.{/if}
```

4. 多個條件
- PayPal 且訂單金額為 $100 或更高:
```
{if gateway="paypal" amount=">=100"}PayPal and order is $100 or more!{/if}
```
- Stripe 且使用者是訂閱者:
```
{if gateway="stripe" user_role="subscriber"}Stripe payment from a subscriber!{/if}
```

### 開發者及授權資訊
- 開發者:Mihai Joldis
- 授權:該外掛根據 GPLv2 或更新版本授權。

原文外掛簡介

Conditional Email Tags for Easy Digital Downloads lets you add smart, dynamic content to your EDD email templates using simple {if ...}{/if} tags. Personalize your customer emails based on payment gateway, order price, user role, and more!
Examples:
– {if gateway="stripe"}This is only for Stripe payments.{/if}
– {if gateway="paypal" price=">50"}PayPal and price over $50!{/if}
– {if user_role="subscriber"}Hello, valued subscriber!{/if}
– {if tax=">10"}This order has significant tax.{/if}
– {if discount_codes="SUMMER20"}Special summer discount applied!{/if}
Why use this plugin?
– 🧠 Make your emails smarter and more relevant
– 🛒 Target messages by payment method or order value
– 👤 Personalize content for different user roles
– 🔌 Easily extensible for developers
– More to come!
Usage
Add conditional blocks to your EDD email templates. Here are working examples for all available conditions:
1. By Gateway

Only for Stripe payments:
{if gateway=”stripe”}This is only for Stripe payments.{/if}

Only for PayPal payments:
{if gateway=”paypal”}This is only for PayPal payments.{/if}

2. By Price

Order total greater than $50:
{if price=”>50″}Shown if order total is greater than $50.{/if}

Order total less than or equal to $20:
{if price=”<=20″}Shown if order total is $20 or less.{/if} Order total exactly $100: {if price=”100″}Shown if order total is exactly $100.{/if} 3. By Tax Order tax greater than $10: {if tax=”>10″}This order has significant tax.{/if}

Tax-free purchase:
{if tax=”0″}Tax-free purchase!{/if}

4. By Discount Codes

Specific discount code applied:
{if discount_codes=”SUMMER20″}Special summer discount applied!{/if}

No discount applied:
{if discount_codes=””}No discount applied.{/if}

5. By User Role

For subscribers:
{if user_role=”subscriber”}Hello, valued subscriber!{/if}

For customers with the ‘administrator’ role:
{if user_role=”administrator”}Special message for admins.{/if}

6. Multiple Conditions

PayPal and order is $100 or more:
{if gateway=”paypal” price=”>=100″}PayPal and order is $100 or more!{/if}

Stripe and user is a subscriber:
{if gateway=”stripe” user_role=”subscriber”}Stripe payment from a subscriber!{/if}

High-value order with tax:
{if price=”>100″ tax=”>10″}High-value order with significant tax.{/if}

Conditional Content Blocks
You can show or hide content in your emails based on order or user properties using {if …} blocks.
Basic usage
{if gateway="stripe"}
Thank you for paying with Stripe!
{/if}

Multiple conditions (AND/OR)

{if gateway="stripe" OR gateway="paypal"}
Thank you for using an online payment method!
{/if}

{if user_role="administrator" AND gateway="stripe"}
Special admin Stripe message!
{/if}

Use AND to require all conditions to be true.
Use OR to require at least one condition to be true.
You can mix and match as needed:
{if gateway=”stripe” OR gateway=”paypal” AND user_role=”customer”}

Supported Operators

AND, OR (logical operators): {if gateway=”stripe” OR gateway=”paypal”}

Credits
Developed by Mihai Joldis
License
This plugin is licensed under the GPLv2 or later.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Conditional Email Tags for Easy Digital Downloads」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | trunk |

延伸相關外掛(你可能也想知道)

  • Bulk Edit Posts and Products in Spreadsheet 》一個專門為WordPress設計的電子表格。使用電子表格大量編輯文章。, , 它適用於古騰堡(新編輯器)和經典編輯器, 您可以使用古騰堡編輯器直接在電子表格中編輯...。
  • AffiliateWP – Affiliate Product Rates 》, 此外掛需要 AffiliateWP v1.5.2+ 才能運作。, , 在最基礎的層面上,AffiliateWP 允許您設定所有聯盟夥伴共享的全局轉介率。對於支持按產品分配轉介率的整合...。
  • Easy Digital Downloads Featured Downloads 》此外掛需要Easy Digital Downloads。此外掛針對需要顯示精選下載清單的開發人員/用戶設計。, , 提供了一個範本標籤,可精確地將精選下載清單放置於主題中。, ...。
  • EDD Auto Register 》此外掛現在需要 Easy Digital Downloads 2.9 或更高版本。, 啟用後,EDD Auto Register 可在結帳時為您的顧客建立 WordPress 使用者帳戶,而無需顧客輸入任何...。
  • Easy Digital Downloads Free Link 》這個外掛程式可將 Easy Digital Downloads 中的「加入購物車」按鈕,當產品免費且只有一個檔案時,替換成直接下載該檔案的連結。此功能僅適用於該檔案為連接...。
  • Cart Lift – Abandoned Cart Recovery for WooCommerce and EDD 》rt Campaigns, Track Customer on Checkout Page, Recovery Campaign Statistics with Graphs and Charts, Customize Coupons and Discounts, Segmentation -...。
  • AffiliateWP – Allowed Products 》, 這個外掛需要AffiliateWP才能運作。, , 這個外掛允許您選擇您網站上的哪些產品會為您的聯盟會員賺取佣金。雖然 AffiliateWP 允許您在產品上停用佣金(對於...。
  • Recapture for Easy Digital Downloads 》主站 | 支援 | 文檔, Recapture 是最簡單、最有效的方式,為您的 Easy Digital Downloads 網站恢復遺失的購物車及進行電子郵件行銷。我們還支援WooCommerce ...。
  • EDD Hide Download 》此外掛需要Easy Digital Downloads。, 如果您已經建立了自訂的登陸頁面或購買漏斗,可以隱藏 Easy Digital Downloads 產品的默認產品頁面,並將用戶重定向到...。
  • Sale Price for EDD 》透過設定優惠價格,讓您的下載產品更加突出!, 多項研究已經證明,當產品有折扣時,不論是什麼商品,人們都更有可能購買。特別是當他們本來就想要擁有該產品...。
  • Easy Digital Downloads – Additional Shortcodes 》Easy Digital Downloads 額外短碼外掛為使用 WordPress 建立的電子商務商店增強了有力的條件頁面邏輯。, 如何使用 Easy Digital Downloads 額外短碼, 所有包...。
  • Easy Digital Downloads – Related Downloads 》這是一個 Easy Digital Downloads 的擴充外掛,能在單一下載頁面的單一下載內容之後自動添加相關的下載。它簡單且輕量,預設情況下不需要任何設置即可運作。...。
  • Pushover Notifications for WordPress 》透過將 Pushover Notifications 應用程式與您的 WordPress 網誌和這個外掛搭配使用,您可以在行動裝置上的 Push 通知中收到有關您的網誌事件的通知,支援的通...。
  • Counten- Sale Counter Advanced 》使用這個外掛可為您的 Easy Digital Download 產品增加更多功能。透過該外掛,設置促銷並顯示計數器。, Counten- Sale Counter Advanced Plugin for Easy Dig...。
  • Music Player for Easy Digital Downloads 》e Easy Digital Downloads WordPress Plugin:, Music Player for Easy Digital Downloads 是一個 WordPress 外掛,具有以下特色:, , 包含支援 OGA、MP3、WAV...。

文章
Filter
Mastodon