這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gravity Forms Entries Inventory Management

外掛說明

The Gravity Forms Entries Inventory Management provides an easy way to accept a given number of bookings/sell X tickets on your website.

Mark the desired field with ‘gfinventory’ css class in the Field Appearence tab. Further to this the plugin will:

  1. Sum up the values from the ‘gfinventory’ field from all the available Entries of this form
  2. Will compare that total with the “Number of Entries” (total entries) option from Form Settings tab.
  3. Will display any needed validation both at form load time as well as upon form submit.

Note!
Plugin works with “total entries” option for Number of Entries.
Plugin not tested with other Number of Entries limits like:

  • per day
  • per week
  • per month
  • 每年

相容性

This plugin is compatible with:
* Gravity Forms >= 1.9.12.10

螢幕擷圖

  • Validate field upon form submission and make sure we don't book more entries than available screenshot-1.png.
  • Display a friendly message upon form display if no place is available screenshot-2.png
  • Configure the inventory field screenshot-3.png
  • Configure the entry limits screenshot-4.png

安裝方式

See Screenshots tab for a short visual tutorial.

  1. Copy the gravity-entry-inventory-management folder into your wp-content/plugins folder
  2. Activate the Gravity Forms Entries Inventory Management plugin via the plugins admin page
  3. Create a new Gravity Form
  4. Add a new input field on the form
  5. Go to the Field Appearence tab and add ‘gfinventory’ (without single quotes) to the Custom Css Class field. Save the form.
  6. Go to Form Settings (NOT Global Gravity Form Settings) and
  • Check “Enable entry limit”
  • Set your limit for this form in “Number of Entries” field
  • Set yor message in “Entry Limit Reached Message” field
  • 儲存設定

使用者評論

2021 年 3 月 17 日
Couldn't get it to do a thing. Don't waste your time.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Gravity Forms Entries Inventory Management〉的開發相關工作。

參與者

變更記錄

1.0.0

  • First working version