• Resolved Efs

    (@stevendigital)


    Hello,

    I would like to ask if it is possible to add a “Cancel Order” button inside the order confirmation Email

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Customize WooCommerce Order Emails

    1) Override a custom Email WooCommerce Template

    – First you make sure that the following directory exists in the WordPress installation: wp-content/themes/your-theme/woocommerce/emails.
    – Next, copy the file found at wp-content/plugins/woocommerce/templates/emails/… into the store’s theme at: your-theme/woocommerce/emails/.
    – Finally, edit your-theme/woocommerce/emails/…

    2) Conditional Customization with Actions/Filters

    – The most effective approach to customizing emails is to work with WooCommerce custom code. This obviously requires a high-level of expertise in PHP.

    WC_Order::get_cancel_order_url() – Generates a URL so that a customer can cancel their (unpaid – pending) order.

    Thread Starter Efs

    (@stevendigital)

    It did help. But in the end the customer asked for something else. Thank you for the response .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cancel Order Button inside mail’ is closed to new replies.