I have registrations set up on a commerce product (that costs money) with a capacity of 3 and a wait list of 0 (unlimited, but also tried it at 5) and once the original 3 slots are filled, the cart button is removed and says

No slots available
This item is currently unavailable.

I'm assuming that a user should still be able to hit the cart button and submit info to get on the wait list (register with a wait list state), but there's no option for users to do so. Am I missing something? Also, if a product costs money and users need to get on the wait list, do they still have to pay the money to do so or can they bypass that just to get wait listed?

Thank you!

Comments

dpi’s picture

Project: Entity Registration » Commerce Registration
Version: 7.x-1.x-dev » 7.x-3.x-dev

Have any thoughts jpontani?

adwuk’s picture

Issue summary: View changes
StatusFileSize
new856 bytes

Submitting my first patch, so be kind :) Commerce registration calls registration_has_room and not registration_status - it therefore misses out on the registration waitlist module override on the status. I hope this is a starting point for others to improve.

blacklabel_tom’s picture

Category: Bug report » Feature request
nco71’s picture

I m interested in that feature , would there be a way to implement that using some hooks and a separate / additional sub module ?

blacklabel_tom’s picture

Hi,

As a quick and easy solution you could create a webform which is your waiting list. This would hold the order and you can add whichever fields you wants.

Cheers

Tom

elstudio’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Component: Miscellaneous » Checkout
Category: Feature request » Bug report
StatusFileSize
new855 bytes

Great patch, @staceyb!

Works for me, though I've updated the patch to make the response text translatable.

Otherwise, it's great.

+1 for RTBC.

TravisJohnston’s picture

StatusFileSize
new5.5 KB

Great work everyone, though this patch only works when there is 1 product attached to the product view. Once you have more than 1 product attached, which then shows the select box to choose which product you want to add to your cart, this doesn't work as the add to cart form array isn't specific enough.

This is my first patch, and I'm still fairly new to PHP so it may not be the best. But basically it's a build off of the patch included by @elstudio, which only applied to the "hidden" case, now this one applies to the "select" case as well and does some additional tasks that I needed.

In order for wait lists to work for me, I needed the following:

  • The ability to show a message if the registration was set to wait list. The previous patch added it's message in the $form array(), though this doesn't work for multiple attached products. So, I instead added a Wait List Warning field to my product type which is empty by default, and then gets filled in with the new message value once the product registration wait list is activated.
  • Set a specific state for the product when wait list is activated, which was a new field on the product entity, this made the state reachable in Rules in order for me to then ....
  • Send an email to the registrant, besides the standard order email, letting them know about any specific wait list instructions. I made this a field as well in the product entity as registrars may have different wait list instructions for different events or sections of the event.
  • Set the price of the product to $0.00, since people shouldn't be paying to be on a wait list. They can pay us later when they are accepted.

Let me know what you think, this patch may be a little overkill for some since I needed the above to work.

blacklabel_tom’s picture

Status: Active » Needs review

Hi Travis,

Setting this issue to needs review so this gets picked up and reviewed.

Cheers

Tom

The last submitted patch, 2: commerce_registration.module.patch, failed testing.

The last submitted patch, 6: commerce_registration-activate_waitlist-2012866.patch, failed testing.

john.oltman’s picture

Status: Needs review » Closed (outdated)