Support

Home Forums Event Espresso Premium Add to Cart redirecting randomly to Event Espresso membership page

Add to Cart redirecting randomly to Event Espresso membership page

Posted: March 4, 2014 at 4:39 pm


Dave Bannister

March 4, 2014 at 4:39 pm

I’ve got a page up and have 48 successful registrations. Two people have reported the following:

“When I try to register for rally and click on “add to cart” I get the sign up page to purchase event expresso membership.”

Any idea what would cause this and how I can eliminate it?


Dean

March 5, 2014 at 12:36 am

Hi,

Are there any shortcodes being used in that event’s description? Is the add to cart from the main Event List or is it from another shortcode?

Can you provide a link to the site and event in question?


Dave Bannister

March 5, 2014 at 9:52 am

Here’s the page:

http://www.fordgtforum.com/rally/?page_id=8

I haven’t really changed anything except for changing some of the text.


Josh

  • Support Staff

March 5, 2014 at 6:43 pm

Hi Dave,

I checked and I think they may be clicking on either of the two links below the box that has the event’s dates on this page:

http://www.fordgtforum.com/rally/?page_id=8&ee=2

You can remove those links by going to Event Espresso > General Settings and setting “Show a link to Event Espresso in your event pages?” to No.


Dave Bannister

March 6, 2014 at 7:22 am

That was the first thing I thought of, but they assure me they didn’t accidentally click that link and it was specifically when clicking “add to cart” that they were redirected to the EE membership page.

I removed the link anyhow, but pretty sure that’s not the source of the misdirect.


Josh

  • Support Staff

March 6, 2014 at 8:27 am

Hi Dave,

If you can find out the actual URL they’re getting misdirected to we can help track down its source.


Dave Bannister

March 6, 2014 at 8:28 am

I had a guy send me a screen cap. It was:

https://eventespresso.com/pricing


Josh

  • Support Staff

March 6, 2014 at 9:27 am

Hi Dave,

I double checked, and the only place I see in the Event Espresso plugin where it outputs a link onto the front end of the site is here:

function espresso_registration_footer() {
	global $espresso_premium, $org_options;
	$url = (!isset($org_options['affiliate_id']) || $org_options['affiliate_id'] == '' || $org_options['affiliate_id'] == 0) ? 'https://eventespresso.com/' : 'https://www.e-junkie.com/ecom/gb.php?cl=113214&c=ib&aff=' . $org_options['affiliate_id'];
	if ($espresso_premium != true || (isset($org_options['show_reg_footer']) && $org_options['show_reg_footer'] == 'Y')) {
		return '<p style="font-size: 12px;"><a href="' . $url . '" title="Event Registration Powered by Event Espresso" target="_blank">Event Registration and Ticketing</a> Powered by <a href="' . $url . '" title="Event Espresso - Event Registration and Management System for WordPress" target="_blank">Event Espresso</a></p>';
	}
}

This code only runs if the “Show a link to Event Espresso in your event pages?” is set to yes, which is what your site had before it was set to no.


Dave Bannister

March 6, 2014 at 12:58 pm

Ok, hopefully that solves the problem. We shall see!


Josh

  • Support Staff

March 6, 2014 at 1:48 pm

Hi Dave,

If it doesn’t fix the issue, please let us know the steps on how to reproduce it so we can investigate.

The support post ‘Add to Cart redirecting randomly to Event Espresso membership page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso