Okay
  Public Ticket #2708410
WooCommerce integration | redirect to checkout instead of cart
Closed

Comments

  • Mike started the conversation

    Hi,

    I have installed Amelia and activated WooCommerce as the payment option. When I want to order an event I notice I get redirected to the homepage instead of the checkout. I read in the documentation that you get redirected to the cart page but the cart page is disabled for this specific website. That's why I would like to redirect directly to the checkout page instead of the cart page. Is there any way I can change the redirect URL?

  • [deleted] replied

    Hi, Mike!

    Thank you for choosing Amelia.

    When you access your database you need to find and open the wp-options table (it can have another prefix rather than wp_ depending on your database) and find the option amelia_settings in it. Then please edit this option and when you find property ‘wc:’ there you need to set checkout for the ‘page’ property instead of cart, like here:

    "wc": {        "onSiteIfFree": false,        "page": "checkout"
    }


    Hope that will help.

    Best Regards.