內容簡介
這個外掛會建立一個自訂內容類型,用於包含優惠碼的起始/結束日期、折扣(以百分比或現金計算),並且會列出所有詳細資訊,讓你可以輕鬆地從列表頁面進行管理。透過自訂,你可以輕易的啟用網站上的優惠碼功能。
如何使用:
這是一個自訂內容類型,因此你可以應用所有要針對任何自訂內容類型進行的 hooks/自訂化。以下是用於存儲優惠券值的變數,因此您只需使用相應的 meta 值即可。
優惠碼代碼:np_ccode__ccode
折扣(%或$):np_ccode__discount_in
折扣金額/百分比:np_ccode__amt_per
優惠券開始日期:np_ccode__ccstart_date
優惠券結束日期:np_ccode__ccstart_date
你可以根據自己的需要使用以上的元鍵進行自訂化,以定制網站的優惠碼功能。
外掛標籤
開發者團隊
原文外掛簡介
This plugin create a custom post type for coupon code that includes Coupon Start / End date, Discount in Percentage / Cash. The coupons are listed with all details so you can easily manage it from listing page. You can easily use this plugin by customization by your own to enable coupon feature to your site.
How to Use:
This is custom post type so you can apply all the hooks / customization that you do with any custom post type. Below are the variables which are used to store values of coupons so you just need to use meta values for the same.
Coupon Code = np_ccode__ccode
Discount In ( % or $ ) = np_ccode__discount_in
Discount Amount/Percent = np_ccode__amt_per
Coupon Start Date = np_ccode__ccstart_date
Coupon End Date = np_ccode__ccstart_date
You can use above meta keys into your site by your own to customize your site coupon feature.
