[WordPress] 外掛分享: WooCommerce Coupon Shortcodes

WordPress 外掛 WooCommerce Coupon Shortcodes 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WooCommerce Coupon Shortcodes」是 2013-09-13 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2025-04-09,距離現在已有 24 天。
  • 外掛最低要求 WordPress 6.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 16 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

itthinx | proaktion |

外掛標籤

coupon | discount | marketing | shortcode | woocommerce |

內容簡介

這個針對 WooCommerce 的擴充套件允許您呈現優惠券資訊並根據優惠券的有效期限顯示內容。

當購物車中的商品符合條件時,讓顧客使用特定的優惠券或在顧客額外購買商品時給予優惠券,可以激勵顧客繼續購物。

如果安裝了 WooCommerce Volume Discount Coupons,則會自動顯示適用於量減價的優惠券折扣詳細資訊。

此外,它也可與 WooCommerce Group Coupons 和 WooCommerce Coupons Countdown 搭配使用。

有條件的短碼

此擴充套件提供以下有條件的短碼,可用於包含當應用、有效或啟用某些優惠券時顯示的內容:

[coupon_is_active]
[coupon_is_not_active]
[coupon_is_applied]
[coupon_is_not_applied]
[coupon_is_valid]
[coupon_is_not_valid]

這些條件短碼可在任何優惠券應用、有效或啟用時顯示內容:

[coupon_has_valid]
[coupon_has_not_valid]
[coupon_has_active]
[coupon_has_not_active]
[coupon_has_applied]
[coupon_has_not_applied]

優惠券資訊短碼

此擴充套件也提供可呈現優惠券代碼、描述和自動折扣描述的短碼:

[coupon_code](大部分在條件短碼中使用較有意義)
[coupon_description]
[coupon_discount]
[coupon_show]

優惠券迭代器短碼讓使用一組優惠券變得更容易,該短碼按順序渲染每個優惠券的內容。可以在此短碼的內容中使用資訊短碼,以顯示關於每個優惠券代碼的詳細資訊。

[coupon_iterate]

例如:[coupon_iterate code="test,welcome,20off"][coupon_code] – [coupon_discount][/coupon_iterate]

優惠券枚舉短碼允許列出所有或一組優惠券,以顯示其代碼、描述或折扣資訊,也可使用 [coupon_show] 短碼的組合:

[coupon_enumerate]

文檔

詳細描述請參閱該外掛程式的 文檔頁面。

範例

顯示可使用優惠券時(啟用),顯示文字。這對於顯示促銷信息非常有用,而優惠券仍在使用期限內且未超過使用限制:

[coupon_is_active code="eastereggs"]
Happy Easter!
Use the coupon code [coupon_code] to hop away with a great discount : [coupon_discount]
[/coupon_is_active]

以下是促銷結束時所顯示的文字範例:

[coupon_is_not_active code="specialdiscount"]
Our special discount sale has ended. Come back often to see more!
[/coupon_is_not_active]

當購物車中的商品符合優惠券應用條件時,顯示優惠券:

[coupon_is_valid code="superdiscount"]
You qualify for a discount!
Use the coupon code [coupon_code] to take advantage of this great discount : [coupon_discount]
[/coupon_is_valid]

原文外掛簡介

This extension for WooCommerce allows you to render coupon information and show content based on the validity of coupons.
Customers can be motivated to proceed with their purchase, offering them to use specific coupons when the contents in the cart qualify for it, or by offering them to purchase additional items so they can use a coupon.
Extended coupon discount info for volume discounts is shown automatically, if Volume Discount Coupons is installed.
It also works with WooCommerce Group Coupons and WooCommerce Coupons Countdown.
Conditional Shortcodes
It provides the following conditional shortcodes that allow to enclose content which is shown if certain coupons are applied, valid or active:
[coupon_is_active]
[coupon_is_not_active]
[coupon_is_applied]
[coupon_is_not_applied]
[coupon_is_valid]
[coupon_is_not_valid]

These conditional shortcodes allow to render content if any coupons are applied, valid or active:
[coupon_has_valid]
[coupon_has_not_valid]
[coupon_has_active]
[coupon_has_not_active]
[coupon_has_applied]
[coupon_has_not_applied]

Coupon Info Shortcodes
It also provides shortcodes that allow to render the coupon code, its description and an automatic description of the discount:
[coupon_code] (this one makes sense mostly when used inside one of the conditional shortcodes).
[coupon_description]
[coupon_discount]
[coupon_show]

A coupon iterator shortcode makes it easy to work with a set of coupons, the enclosed content is rendered for each coupon in sequence. The informational shortcodes can be used inside the content of this shortcode to display details about each coupon code.
[coupon_iterate]

For example: [coupon_iterate code="test,welcome,20off"][coupon_code] – [coupon_discount][/coupon_iterate]
A coupon enumerator shortcode allows to list all or a set of coupons, to show their code, description or discount information, or combinations of those using the [coupon_show] shortcode:
[coupon_enumerate]

Documentation
Please refer to the plugin’s documentation pages for detailed descriptions.
Examples
Show a text when a coupon can be used (active) – this is useful to show promotional info while coupons can be used, as active means that the coupon has not reached its expiration date nor exceeded its usage limits:
[coupon_is_active code="eastereggs"]
Happy Easter!
Use the coupon code [coupon_code] to hop away with a great discount : [coupon_discount]
[/coupon_is_active]

This is an example of a text shown when a promotion is over:
[coupon_is_not_active code="specialdiscount"]
Our special discount sale has ended. Come back often to see more!
[/coupon_is_not_active]

Showing a coupon when the cart contents qualify for a coupon to be applied:
[coupon_is_valid code="superdiscount"]
You qualify for a discount!
Use the coupon code [coupon_code] to take advantage of this great discount : [coupon_discount]
[/coupon_is_valid]

Showing a coupon that is not valid for the current cart and motivating to add items:
[coupon_is_not_valid code="25off"]
If you purchase 5 Widgets, you can use the coupon [coupon_code] to get 25% off your purchase!
[/coupon_is_not_valid]

Iterate over several coupons and show their discount info:
[coupon_iterate code="test,welcome,20off"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Iterate over all coupons and show their discount info:
[coupon_iterate code="*"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Show information about three random coupons, including the coupon code, its description and discount info together on each entry:
[coupon_enumerate code="*" orderby="rand" number="3"]
[coupon_show show="code,description,discount"]
[/coupon_enumerate]

Show a single random coupon code:
[coupon_enumerate code="*" orderby="rand" number="1"]
[coupon_code]
[/coupon_enumerate]

Documentation and Support
Full usage instructions and help is provided on these pages:

Please refer to the plugin’s documentation pages for detailed information Documentation
Questions, feedback and suggestions can be posted on the plugin page WooCommerce Coupon Shortcodes plugin page and Support

各版本下載點

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

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


1.0.0 | 1.1.0 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.3.0 | 1.4.0 | 1.5.0 | 1.5.1 | 1.6.0 | 1.6.1 | 1.6.2 | 1.7.0 | 1.8.0 | 1.9.0 | 1.9.1 | 2.0.0 | 2.1.0 | 2.2.0 | 2.3.0 | 2.4.0 | 2.5.0 | 2.6.0 | 2.7.0 | 2.8.0 | 2.9.0 | trunk | 1.10.0 | 1.11.0 | 1.12.0 | 1.13.0 | 1.14.0 | 1.15.0 | 1.16.0 | 1.17.0 | 1.18.0 | 1.19.0 | 1.20.0 | 1.21.0 | 1.22.0 | 1.23.0 | 1.24.0 | 1.25.0 | 1.26.0 | 1.27.0 | 1.28.0 | 1.29.0 | 2.10.0 |

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

  • Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation 》🤩使用這個外掛可以製作彈出視窗和訂閱表單,增加電子郵件訂閱者、銷售和業績–最受歡迎的彈出視窗建構器!🚀, 最佳的 WordPress 彈出視窗建構器和電子報彈窗...。
  • Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popups Builder 》透過彈出視窗提高銷售和電子郵件列表訂閱率, 使用彈出視窗、滑動式內嵌頁面和橫幅等轉換導向活動,在 WordPress 網站上提高收入和電子郵件列表。, Popup Make...。
  • Creative Mail – Easier WordPress & WooCommerce Email Marketing 》Creative Mail是專門為WordPress和WooCommerce設計的電子郵件外掛。, 我們智能(且超級有趣的)郵件編輯器簡化了郵件營銷活動的創建過程,並將WordPress博客...。
  • Pinterest for WooCommerce 》Pinterest 提供人們下一個偉大的想法。它部分收藏品,部分市場,是數百萬個分享者獲取靈感、新產品和新可能性的一站式購物平台。它就像一個視覺搜尋引擎,引...。
  • HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics 》h HubSpot, you can easily create and manage email marketing campaigns through the HubSpot WordPress plugin., Live Chat & Chatbots, Engage with ...。
  • Newsletters, Email Marketing, SMS and Popups by Omnisend 》總結文案:, 「Omnisend 外掛連接至 Omnisend 電子郵件行銷工具,可讓其他外掛自動將表單數據和聯絡資訊傳送至 Omnisend。這能夠簡化聯絡人分類並發送個人化郵...。
  • Hustle – Email Marketing, Lead Generation, Optins, Popups 》Hustle 是一個終極的行銷外掛程式,可建立郵件列表並轉換網站流量。通過簡單的設置選項表單、目標行銷彈出式窗口和設計師制作的模板,提高潛在客戶數量。同時...。
  • Popups for Divi 》一旦啟用了此外掛,在「區段設定」彈出式視窗中的 Visual Builder 會顯示一個名為「Popup」的新標籤。在「Popup」標籤中,您可以將一個普通的區段變成彈出式...。
  • Email Marketing for WooCommerce by Omnisend 》最直觀的電子報、電商電子行銷和簡訊解決方案,專為你的 WordPress 和 WooCommerce 商店而設計, 有什麼比一鍵式 WooCommerce 商店整合更好的呢?擁有預建工作...。
  • Contact Form 7 Extension For Mailchimp 》WordPress Extension for Mailchimp (Chimpmatic Lite)可將Contact Form 7與Mailchimp Audience集成。使用Mailchimp的最新API自動將Contact Form 7提交的信息...。
  • WP ULike – All-in-One Engagement Toolkit 》作為一個內容創建者,收到反饋是至關重要的,但不幸的是,預設情況下可以收集反饋的內容類型有所限制。然而,在 WP ULike 外掛的幫助下,可以對您網站上的任...。
  • Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer 》4>Buttonizer - WordPress外掛,提供多種聯絡我們方式, Buttonizer是WordPress的智慧型浮動動作(固定)按鈕外掛程式中最多功能多樣化的。它可以支援WhatsApp...。
  • Klaviyo 》Klaviyo 是一個統一的客戶平台,讓您的網上品牌直接擁有您的消費者數據和互動,讓您能夠以規模化的方式將與客戶的交易轉化為有生產力的長期關係。由於 Klaviy...。
  • Mailchimp List Subscribe Form 》使用 MailChimp List Subscribe 外掛快速在 WordPress 2.8 及以上版本的網站上新增 MailChimp 訂閱表單小工具。, 安裝後,您可以使用 API 金鑰登入,選擇您的...。
  • Advanced Popups 》使用此輕量而功能豐富的外掛,顯示高轉換率的電子報彈出視窗、Cookie 注意事項,或通知。。

文章
Filter
Apply Filters
Mastodon