
內容簡介
Dispensary Coupons 外掛是官方的額外模組,配合 WP Dispensary 菜單管理外掛使用。
安裝此外掛後,您可以新增優惠券至網站,並透過內含的 shortcode 和 widget 來展示它們。
此外掛還擴展了 WP Dispensary 的 eCommerce 擴充模組,讓客戶在下單時可以使用優惠碼。
需求
Dispensary Coupons 外掛是建立在需要安裝並啟用 WP Dispensary 外掛的基礎上,才能利用增加的功能,因此必須先安裝 WP Dispensary 外掛才能正常運作。
Shortcode
您可以藉由添加以下的 shortcode 顯示您的 dispensary 優惠券:
[wpd-coupons]
以下是包含所有選項的 shortcode:
[wpd-coupons limit="5" image="yes" imagesize="medium" title="yes" couponexp="yes" details="yes" products="yes"]
如果您想要隱藏其中任何一個細節,您可以在上述例子的 shortcode 屬性中將 yes 改為 no。
Widget
您也可以將外掛內含的 Dispensary Coupons widget 添加至側邊欄,如下面的例子截圖所示。
投稿
想要幫助這個外掛變得更好嗎?請前往 Github 開啟問題或提交拉取請求。
外掛標籤
開發者團隊
原文外掛簡介
The Dispensary Coupons plugin is an official add-on for the WP Dispensary menu management plugin.
With this plugin installed, you can add coupons to your website and show them off via the included shortcode and widget.
This plugin also extends the eCommerce add-on for WP Dispensary, allowing customers to use the coupon codes when placing orders.
Requirements
Dispensary Coupons was built with the WP Dispensary plugin to be installed and activated in order utilize the added functionality for websites that are running the WPD plugin.
Shortcode
You can display your dispensary coupons by adding the following shortcode:
[wpd-coupons]
Here is the shortcode with all options included:
[wpd-coupons limit="5" image="yes" imagesize="medium" title="yes" couponexp="yes" details="yes" products="yes"]
If you’d like to hide any of the included details, you can change yes to no in the shortcode attributes from the above example.
Widget
You can also display your coupons by adding the included Dispensary Coupons widget to your sidebar, as seen in the example screenshots below.
Contribute
Want to help this plugin get better? Head over to Github and open an issue or submit a pull request.
