Support

Home Forums Event Espresso Premium Link not changing in Return to Event Cart button on Checkout

Link not changing in Return to Event Cart button on Checkout

Posted: November 26, 2018 at 11:19 am

Viewing 7 reply threads


Matt

November 26, 2018 at 11:19 am

I have launched a site that we developed with the “beta” subdomain. Everything has switched over but I can’t make the link on the Checkout page change that goes back to the Cart.

I believe I have tracked it down in the code to this section of code in EED_Multi_Event_Registration.module.php:
add_query_arg(array( ‘event_cart’ => ‘view’ ), EE_EVENT_QUEUE_BASE_URL )

But I cannot change this link in any way. Can you tell me either how to update this link OR a custom function that will overwrite this link.

Thanks,
Matt


Matt

November 26, 2018 at 11:19 am

Sorry…just to clarify…that button still goes to “beta.website.com” and I can’t get it to update. Thx.


Josh

  • Support Staff

November 26, 2018 at 2:01 pm

Hi,

The code you found for the URL is defined from what’s set in the WordPress options table.

If you go to your WordPress dashboard’s Settings > General page, are the correct URLs set there?


Matt

November 26, 2018 at 2:35 pm

Hi Josh,

I’ve got all the right URLs there, the permalinks seem to be right and every other link in the site works except this one.

Is there a workaround function for this?

Thx.
Matt


Josh

  • Support Staff

November 26, 2018 at 2:42 pm

Hi Matt,

There’s no workaround, because the URL set in the code is the same as what’s stored in the options table. So something in your database is still pointing to “beta.website.com”. May I ask was the site’s database migrated using a find & replace script or plugin like WP Migrate DB?


Matt

November 26, 2018 at 2:51 pm

I used a find/replace but can go through again and update all the remaining instances. I have eight remaining instances in the wp_options, four under “ee_core_routes(ver#)” and one under “ee_invalid_checkout_access”.


Josh

  • Support Staff

November 26, 2018 at 4:45 pm

Those aren’t the options in the database that would affect this, but in any case those should be updated to the correct URLs. May I ask can you post a link to the event page in question, so we can investigate further?


Tony

  • Support Staff

November 27, 2018 at 3:03 am

I used a find/replace but can go through again and update all the remaining instances.

What kind of find an replace? A script that also handles serialization or a simple find/replace search?

Go to Event Espresso -> General Settings -> Critical Pages.

For the ‘Registration Checkout Page’ page, click the ‘View’ link, does that go to the correct page?

Viewing 7 reply threads

The support post ‘Link not changing in Return to Event Cart button on Checkout’ 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