WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Adding page to checkout process (5 posts)

  1. kayeldee
    Member
    Posted 1 year ago #

    Hi,

    I'd like to add a page to the checkout process between account creation and payment.

    A client's site requires a Release and Indemnity agreement added to the checkout process that would force the buyer to visit the page (and read the agreement) and click a button that indicates that they agree to the terms.

    The current checkbox for the terms and conditions with a link to the page is not enough for this application.

    I'm aware that I can change a page in the process but how do I add a page (step) to the check out process?

    Thanks in advance

    https://wordpress.org/plugins/woocommerce/

  2. Daniel Espinoza
    Member
    Posted 1 year ago #

    WooCommerce doesn't have a multi step checkout available in core. It's been discussed and is in the roadmap. Here's a discussion of the topic.

    Without this available in core you're left to buying a multi step checkout plugin or custom coding it. I've seen some plugins like this in the wild bolted into themes, but the code is sketchy.

    You could possible redirect the Cart page to a page with the indemnity agreement, then link that page to the Checkout page.

    Cart > Indemnity Agreement > Checkout.

    You could redirect the customer when they press the "Proceed to Checkout" button by adding a filter to 'woocommerce_get_checkout_url'. That is shown here:
    https://github.com/woothemes/woocommerce/blob/master/includes/class-wc-cart.php#L605

    Here's a reference on actions and filters: http://docs.woothemes.com/document/introduction-to-hooks-actions-and-filters/

  3. Daniel Espinoza
    Member
    Posted 1 year ago #

    If you read to the end of that thread you'll see someone did some analysis of the themes with multistep checkout and started building a plugin:
    https://github.com/ginsterbusch/woocommerce-multistep-checkout

  4. kayeldee
    Member
    Posted 1 year ago #

    Thanks for the info Daniel, that was vey helpful.

  5. Daniel Espinoza
    Member
    Posted 1 year ago #

    You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic