Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Is that how it is supposed to be working? I'd prefer for the submit button to act as the Add to Cart button and take people to the cart page where they can choose to continue shopping or proceed to checkout.
Comments
Comment #1
esbon CreditAttribution: esbon commentedI have the same need. I even put the Redirection location in webform to the cart page, but it still goes to the checkout page on form submit
Thanks for helping
Comment #2
esbon CreditAttribution: esbon commentedI ended up changing the redirect right on the uc_event_registration.module file to: $form_state['redirect'] = 'cart'; on line 254
Hopefully there will be a way to do thing via the drupal interface.
Thanks for the module, just what we needed.
Comment #3
Rob_Feature CreditAttribution: Rob_Feature commentedIf you're seeing checkout as the redirect hardcoded into the module, then it's probably it's intended behavior (I didn't personally create this latest version...maybe AndyF did?
I thought the module used to redirect to the cart, AndyF did you intentionally redirect it directly to checkout? Please address this issue when you can (assigning to you). Thanks!
Comment #4
AndyF CreditAttribution: AndyF commentedSorry for the delay! The checkout redirect is its original behaviour, but I've just added custom redirect to dev. You can now use the webform config page to set the redirect, and there are two new options: cart and checkout. Make sure to run update.php first as otherwise it will clobber any custom redirects when you next do an update.
Comment #6
rebecca.ellis CreditAttribution: rebecca.ellis commentedI'm opening this back up because I could really use some help:
Where exactly do i go to see the "webform config page" so I can set the redirect as you instruct? I've looked:
> admin/settings/webform - nothing
> node/190/webform/configure - (this is my registration form which is a checkout pane) here I see Redirection Location: with 3 options: confirmation page, custom URL (which is what I have chosen with /cart for the url), and no redirect, just refresh... but this form doesn't even show until they are in checkout....so I know I need to get the redirect BEFORE this page.
> /node/567/webform/configure - (this is a particular class/paid event) Here I DO SEE the option to go to cart or checkout. CART is chosen. yet I still get redirected to the checkout when I click submit on this item. Or i put /cart in the custom URL option. STILL redirected to checkout.
what the heck am i missing?
My problem is that if a user goes to sign up for a class but then leaves the site or hits 'back' and then goes through and does it again or tries to sign up for another class, the previous entry is still in the cart with NO option to remove it. I only want ONE item in the cart at a time. How can I fix this?
Thanks
Comment #7
rebecca.ellis CreditAttribution: rebecca.ellis commentedMysteriously works now. Not sure what did it. Seems I still have to go to EVERY product and fiddle with the options until it clicks.
Comment #8
AndyF CreditAttribution: AndyF commentedHi rebecca.ellis, it's better to open a new support request rather than reopening this one. Seeing as you closed it again I feel a bit silly opening a new issue so I'll just quickly comment here. If you want to follow up, please do open a new one.
The cart should still work for removing paidevents.
The module doesn't protect you against this in any way I'm afraid. If a user adds a paidevent multiple times, then they'll have to update their cart before checkout to remedy the situation. There might already exist a UC module that tries to limit the number of times you can add a particular type of product to your cart, but I'm not aware of one.
Comment #9
rebecca.ellis CreditAttribution: rebecca.ellis commentedAndy,
Thanks for the response. I just thought since my issue was basically the same if I opened a new one someone would just try to redirect me here.
The cart does work for removing paid event, THATS IF I can manage to get the customer there. I was having a really hard time with them being redirected right to checkout.
Thanks for your help. I will just have to put a note on that page saying to only check out one item (class) at a time.