Wishlist item

Permalink Browser Info Environment
We are trying to create a way to sell event (weekly brewery tour) registrations.
The challenge is that we want to restrict total number of tickets that can be purchased per date of registration.

Ideally what I would like to do is have ONE form (since each date is only 10 tix, and it is weekly, that would be a lot of forms!) with a setting for max tix per date. The required form fields would be a hidden field that I can populate with a url parameter (event ID of some sort), and a product field. And when the form loads it would check to see if any previous submissions have been made that match the id field, and if so, only allow the qty for the product to be the remainder tickets available...

So I am thinking it might take an additional form field for the form settings for max qty per event ID, and a customized product field that would figure out the allowed qty dynamically.

Doable? Do you have any better suggestions?

Thanks!!

Type: Discussion
Status: New
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.13
Version Installed - 5.7.5.13
Database Version - 20160615000000

# concrete5 Packages
Event Calendar (3.3.3), Formify (2.6.4), Fruitful (1.2), List files from set (1.0.12), Neat (0.9.2)

# concrete5 Overrides
languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/ievolve/css/main.css, themes/ievolve/css/skeleton.css, themes/ievolve/css, themes/ievolve/default.php, themes/ievolve/elements/footer.php, themes/ievolve/elements/header.php, themes/ievolve/elements, themes/ievolve/full.php, themes/ievolve/grids/skeleton_grid.php, themes/ievolve/grids, themes/ievolve/js/custom.js, themes/ievolve/js/html5.js, themes/ievolve/js/selectivizr-min.js, themes/ievolve/js, themes/ievolve/left_sidebar.php, themes/ievolve/page_theme.php, themes/ievolve/README.md, themes/ievolve/sass/skeleton.scss, themes/ievolve/sass/_normalize.scss, themes/ievolve/sass, themes/ievolve/view.php, themes/ievolve, themes/theme_escapevelocity/assets/css/font-awesome.min.css, themes/theme_escapevelocity/assets/css/ie8.css, themes/theme_escapevelocity/assets/css/images/overlay.png, themes/theme_escapevelocity/assets/css/images/shadow.png, themes/theme_escapevelocity/assets/css/images, themes/theme_escapevelocity/assets/css/main.css, themes/theme_escapevelocity/assets/css, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.eot, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.svg, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.ttf, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.woff, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.woff2, themes/theme_escapevelocity/assets/fonts/FontAwesome.otf, themes/theme_escapevelocity/assets/fonts, themes/theme_escapevelocity/assets/js/ie/backgroundsize.min.htc, themes/theme_escapevelocity/assets/js/ie/html5shiv.js, themes/theme_escapevelocity/assets/js/ie/PIE.htc, themes/theme_escapevelocity/assets/js/ie/respond.min.js, themes/theme_escapevelocity/assets/js/ie, themes/theme_escapevelocity/assets/js/jquery.dropotron.min.js, themes/theme_escapevelocity/assets/js/jquery.min.js, themes/theme_escapevelocity/assets/js/main.js, themes/theme_escapevelocity/assets/js/skel-viewport.min.js, themes/theme_escapevelocity/assets/js/skel.min.js, themes/theme_escapevelocity/assets/js/util.js, themes/theme_escapevelocity/assets/js, themes/theme_escapevelocity/assets/sass/ie8.scss, themes/theme_escapevelocity/assets/sass/libs/_functions.scss, themes/theme_escapevelocity/assets/sass/libs/_mixins.scss, themes/theme_escapevelocity/assets/sass/libs/_skel.scss, themes/theme_escapevelocity/assets/sass/libs/_vars.scss, themes/theme_escapevelocity/assets/sass/libs, themes/theme_escapevelocity/assets/sass/main.scss, themes/theme_escapevelocity/assets/sass, themes/theme_escapevelocity/assets, themes/theme_escapevelocity/default.php, themes/theme_escapevelocity/images/banner.jpg, themes/theme_escapevelocity/images/pic01.jpg, themes/theme_escapevelocity/images/pic02.jpg, themes/theme_escapevelocity/images/pic03.jpg, themes/theme_escapevelocity/images/pic04.jpg, themes/theme_escapevelocity/images/pic05.jpg, themes/theme_escapevelocity/images/pic06.jpg, themes/theme_escapevelocity/images/pic07.jpg, themes/theme_escapevelocity/images/pic08.jpg, themes/theme_escapevelocity/images/pic09.jpg, themes/theme_escapevelocity/images/pic10.jpg, themes/theme_escapevelocity/images, themes/theme_escapevelocity/LICENSE.txt, themes/theme_escapevelocity/README.txt, themes/theme_escapevelocity/full.php, themes/theme_escapevelocity/left_sidebar.php, themes/theme_escapevelocity/right_sidebar.php, themes/theme_escapevelocity/description.txt, themes/theme_escapevelocity, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/ievolve/css/main.css, themes/ievolve/css/skeleton.css, themes/ievolve/css, themes/ievolve/default.php, themes/ievolve/elements/footer.php, themes/ievolve/elements/header.php, themes/ievolve/elements, themes/ievolve/full.php, themes/ievolve/grids/skeleton_grid.php, themes/ievolve/grids, themes/ievolve/js/custom.js, themes/ievolve/js/html5.js, themes/ievolve/js/selectivizr-min.js, themes/ievolve/js, themes/ievolve/left_sidebar.php, themes/ievolve/page_theme.php, themes/ievolve/README.md, themes/ievolve/sass/skeleton.scss, themes/ievolve/sass/_normalize.scss, themes/ievolve/sass, themes/ievolve/view.php, themes/ievolve, themes/theme_escapevelocity/assets/css/font-awesome.min.css, themes/theme_escapevelocity/assets/css/ie8.css, themes/theme_escapevelocity/assets/css/images/overlay.png, themes/theme_escapevelocity/assets/css/images/shadow.png, themes/theme_escapevelocity/assets/css/images, themes/theme_escapevelocity/assets/css/main.css, themes/theme_escapevelocity/assets/css, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.eot, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.svg, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.ttf, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.woff, themes/theme_escapevelocity/assets/fonts/fontawesome-webfont.woff2, themes/theme_escapevelocity/assets/fonts/FontAwesome.otf, themes/theme_escapevelocity/assets/fonts, themes/theme_escapevelocity/assets/js/ie/backgroundsize.min.htc, themes/theme_escapevelocity/assets/js/ie/html5shiv.js, themes/theme_escapevelocity/assets/js/ie/PIE.htc, themes/theme_escapevelocity/assets/js/ie/respond.min.js, themes/theme_escapevelocity/assets/js/ie, themes/theme_escapevelocity/assets/js/jquery.dropotron.min.js, themes/theme_escapevelocity/assets/js/jquery.min.js, themes/theme_escapevelocity/assets/js/main.js, themes/theme_escapevelocity/assets/js/skel-viewport.min.js, themes/theme_escapevelocity/assets/js/skel.min.js, themes/theme_escapevelocity/assets/js/util.js, themes/theme_escapevelocity/assets/js, themes/theme_escapevelocity/assets/sass/ie8.scss, themes/theme_escapevelocity/assets/sass/libs/_functions.scss, themes/theme_escapevelocity/assets/sass/libs/_mixins.scss, themes/theme_escapevelocity/assets/sass/libs/_skel.scss, themes/theme_escapevelocity/assets/sass/libs/_vars.scss, themes/theme_escapevelocity/assets/sass/libs, themes/theme_escapevelocity/assets/sass/main.scss, themes/theme_escapevelocity/assets/sass, themes/theme_escapevelocity/assets, themes/theme_escapevelocity/default.php, themes/theme_escapevelocity/images/banner.jpg, themes/theme_escapevelocity/images/pic01.jpg, themes/theme_escapevelocity/images/pic02.jpg, themes/theme_escapevelocity/images/pic03.jpg, themes/theme_escapevelocity/images/pic04.jpg, themes/theme_escapevelocity/images/pic05.jpg, themes/theme_escapevelocity/images/pic06.jpg, themes/theme_escapevelocity/images/pic07.jpg, themes/theme_escapevelocity/images/pic08.jpg, themes/theme_escapevelocity/images/pic09.jpg, themes/theme_escapevelocity/images/pic10.jpg, themes/theme_escapevelocity/images, themes/theme_escapevelocity/LICENSE.txt, themes/theme_escapevelocity/README.txt, themes/theme_escapevelocity/full.php, themes/theme_escapevelocity/left_sidebar.php, themes/theme_escapevelocity/right_sidebar.php, themes/theme_escapevelocity/description.txt, themes/theme_escapevelocity

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.10.0

# Server API
fpm-fcgi

# PHP Version
5.6.30-10+deb.sury.org~xenial+2

# PHP Extensions
calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 90
max_input_vars - 1000
memory_limit - 512M
post_max_size - 20M
sql.safe_mode - Off
upload_max_filesize - 20M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:54.0) Gecko/20100101 Firefox/54.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.