• Resolved deadlyparrot12

    (@deadlyparrot12)


    Hello, as a follow up to this topic i would like to know, since i cannot find anything in the documentation,
    What is the link for the thank you page (and by that i do not mean the /checkout/order-received/)?
    I am looking for the unique page url so i can include it in the order_recieved email. Presumably the variable included in the customer email for this URL will be something along these lines: {thankyou_page_url}

Viewing 5 replies - 1 through 5 (of 5 total)
  • André

    (@chiape)

    Hi @deadlyparrot12

    I checked the other thread, and it looks like you’re using the Bookings and Appointments For WooCommerce Premium plugin.

    As mentioned on the other thread too, this kind of customization is a bit out of scope for us, but checking that plugin functionality, it seems to be using an order-received endpoint in your checkout page.

    I would recommend checking it out directly with the plugin developer.

    Something important to keep in mind is that WooCommerce don’t come with a native Thank you page, so it’s usually added with a plugin or with some custom codes.

    Regarding the email templates, you can find them all by navigating to your:

    WordPress Dashboard > WooCommerce > Settings > Emails, there are specifically templates for Completed orders, Canceled orders, refunded orders and many others!

    You can also customize them. Here’s more details: https://woocommerce.com/posts/how-to-customize-emails-in-woocommerce/

    All the best,

    Thread Starter deadlyparrot12

    (@deadlyparrot12)

    Hello,
    I have to insist that the booking product has nothing to do with it. What i am referring to is email variables (some are shown here) which are woocommerce related. The thank you page that the user is redirected after checkout is inside woo, not the other plugin.

    Is there a variable to enter while customizing the email so what is sent to the user, is the url of the Thank you page?
    (eg. instead of {order_pay_url} the variable will be named {thankyou_page_url})

    Thanks for your time!

    Hi @deadlyparrot12!

    By default, WooCommerce appends the ‘Order received’ Checkout endpoints set in WooCommerce > Settings > Advanced > Page setup to the checkout URL to form the thank you page URL.

    The order received page URL should be https://example.com/checkout/order-received/, followed by a dynamic order number by default.

    You can get the ‘Order Received’ URL or the ‘Thank You’ page URL, using the function $order->get_checkout_order_received_url().

    Since this is specific customization and requires custom coding to achieve it, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For additional assistance on this topic, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page.

    If you are into coding, you can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack, you could find help from the community of open-source developers for WooCommerce that hangs in there.

    Searching, I found this article that could be useful to your case.

    Cheers!

    Thread Starter deadlyparrot12

    (@deadlyparrot12)

    Thank you! On my side the topic can be closed

    You are welcome! Glad we could help ??

    I am marking this thread as resolved then.

    If you have any further questions, we recommend creating a new topic.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thank page url for email’ is closed to new replies.