Home › Forums › Ticket Products › Event Tickets Plus › Redirect to checkout behaving strangely
- This topic has 3 replies, 3 voices, and was last updated 9 years, 11 months ago by
Support Droid.
-
AuthorPosts
-
May 6, 2016 at 3:53 am #1111366
Thomas
Participanthello there
im trying to bypass the basket when clicking the buy button on a single product view
i found someone else having a similar problem here:
unfortunately there’s no solution there, so im hoping to re-raise the issue
im using the following plugins:
Event Tickets 4.1.3
Event Tickets Plus 4.1.2
The Events Calendar 4.1.3
WooCommerce 2.5.5Wordpress version 4.5.1
basically in the woocommerce settings page, there is a redirect “Redirect to the cart page after successful addition” option, i can set it to off OR on, and it still redirects to the cart page. Ive tried Jami’s advice in the previously mentioned post by switching my theme to twenty thirteen (i also tried twenty fourteen and twenty sixteen), and disabling all other plugins, and im still getting the same behavior
ive also tried hooking into the add_to_cart_redirect() function by adding the following code (which seems to work for other woocommerce users that are not using the events calendar plugin) to my functions file
add_filter ('add_to_cart_redirect', 'redirect_to_checkout'); function redirect_to_checkout() { global $woocommerce; $checkout_url = $woocommerce->cart->get_checkout_url(); return $checkout_url; }still to no avail, so im hoping on some help with this as ive hit a dead end!
kind regards
Tommy
May 6, 2016 at 10:38 am #1111583Andras
KeymasterHi Thomas,
Thanks for reaching out!
Indeed that is an unexpected behavior. On my test site if I add a ticket to the basket, then it goes to the cart. However, if I add a WooCommerce product, then it stays on the product page as expected. Could you please test this and confirm it back to me? (With the mentioned WooCommerce setting off.)
Meanwhile I will try to see if a solution for this exists or we need to make an adjustment.
Thanks and cheers,
AndrasMay 6, 2016 at 11:53 am #1111636Andras
KeymasterHello again Thomas,
I looked around and it looks like this is a small bug. I will file an internal ticket for this so it gets solved, however, I cannot commit to any date.
I am going to close this ticket to new replies, but the issue is still open and we will update this ticket once we release a fix.
If you have any new questions or issues don’t hesitate to create a new ticket.
Cheers,
AndrasMay 21, 2016 at 9:35 am #1117395Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Redirect to checkout behaving strangely’ is closed to new replies.
