Limit the display of product fields based on the number of entries.
PHP Shell
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
inc
.gitignore
README.md
deploy.sh
gravity-forms-limiter.php
readme.txt

README.md

Gravity Forms Quantity Limits

Version 0.8

Limit the display of product fields with Gravity Forms based on the number of entries.

Currently only works for single product fields with a quantity defined. Limit does not count against entries in the trash.

Great for event registration or product quantity limiting.

Built with Better Inventory with Gravity Forms from Gravity Wiz http://gravitywiz.com/better-inventory-with-gravity-forms/

Requirements

  • WordPress 3.5
  • PHP 5.3
  • Gravity Forms 1.6 - Grab a license if you don't already have one

Installation

  1. Install as a regular WordPress plugin
  2. Create a form with one or more product fields
  3. Navigate to Forms->Quantity Limits to setup limit feeds for the desired quantity fields

Changelog

0.8

  • Fix for quantity fields not in English

0.7

  • Fix value sum error if field name begins with an integer

0.6.3

  • Change class name for Gravity Wiz conflicts

0.6.1

  • Hold off on validating updates

0.6

  • Better handling of versions and database creation

0.5

  • Don't allow duplicate limits on fields
  • Fixed JS issues with credit card fields

0.2.2

  • Disable checking and unchecking feeds for now

0.2.1

  • Fixed error when feed is unchecked

0.2

  • Custom messages for remaining items, limit reached and validation

0.1

  • Initial release

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:

Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.