[WordPress] 外掛分享: Coupon Counter for EDD

WordPress 外掛 Coupon Counter for EDD 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Coupon Counter for EDD」是 2020-05-03 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2023-11-30,距離現在已有 521 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

davidvongries |

外掛標籤

edd | EDD Counter | edd discount | EDD Discounts | easy digital downloads |

內容簡介

Coupon Counter for Easy Digital Downloads (EDD) 是一個簡單但實用的外掛,可以讓您動態地顯示剩餘或已使用的優惠券代碼數量。

顯示以下訊息:

只剩下 128 張優惠券!
已使用 34/200 張折扣代碼!

短碼

使用下面的短碼輕鬆地顯示剩餘和已使用優惠券代碼的數量。

[cc-edd id="discount-id" format="countdown/count"]

範例
只剩下 [cc-edd id="293" format="countdown"] 張優惠券!

會顯示:只剩下 xxx 張優惠券!

[cc-edd id="293" format="count"] 張折扣代碼已使用!

會顯示:xx/xxx 張折扣代碼已使用!

進階

在「計數」顯示格式中可使用過濾器更改分隔符號。

例如,可以將「/」分隔符號更改為「of」。

function prefix_custom_cc_edd_divider() {
return ' of ';
}
add_filter( 'cc_edd_divider', 'prefix_custom_cc_edd_divider' );

使用上述範例,結果為:
xx of xxx 張折扣代碼已使用!

原文外掛簡介

Coupon Counter for Easy Digital Downloads (EDD) is a simple but useful plugin that allows you to dynamically display the remaining or used coupon codes.
Display messages like:

Only 128 coupons remaining!
34/200 discount codes used!

Shortcode
Easily display the count of remaining and used coupon codes using the shortcode below.
[cc-edd id="discount-id" format="countdown/count"]

Examples
Only [cc-edd id="293" format="countdown"] coupons left!

Will result in: Only xxx coupons left!
[cc-edd id="293" format="count"] discount codes used!

Will result in: xx/xxx discount codes used!
Advanced
There is a filter available for the “count” display format that allows you to change the separator icon as desired.
For example, you can change the “/” separator to “of”.
function prefix_custom_cc_edd_divider() {
return ' of ';
}
add_filter( 'cc_edd_divider', 'prefix_custom_cc_edd_divider' );

Following the example above, this would result in:
xx of xxx discount codes used!

各版本下載點

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

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


1.0 | 1.0.1 | 1.0.2 | 1.0.3 | trunk |

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

  • EDD Sale Price 》透過設定優惠價格,讓您的下載產品更加突出!, 多項研究已經證明,當產品有折扣時,不論是什麼商品,人們都更有可能購買。特別是當他們本來就想要擁有該產品...。

文章
Filter
Apply Filters
Mastodon