diff --git a/README.md b/README.md index 7670b35..65d2046 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This is handy when you want to: 1. Upload the `woocommerce-custom-thank-you` directory into the `/wp-content/plugins/` directory. 2. Activate the plugin through the "Plugins" menu in WordPress. -3. Set a global "Thank You" page under "WooCommerce -> Settings -> Checkout -> Checkout options -> Checkout pages". (Optional) +3. Set a global "Thank You" page under "WooCommerce -> Settings -> General -> General options". (Optional, but suggested) ## Setting a custom "Thank You" page @@ -23,6 +23,15 @@ This is handy when you want to: 2. In the "Product data — Simple product" meta box, enter a page into the "Thank you redirect" field. 3. Update the product. +## Custom "Thank You" page customizations + +Since this plugin overwrites the default WooCommerce thank you page, we have included four shortcodes that you can use to display order details to your customers. They are: + +* `[woo_order_details]` — The standard WooCommerce thank you page receipt view +* `[woo_order_stub]` — A short, one line order synopsis containing: order number, order date, customer email, order total, payment method +* `[woo_order_table]` — A table containing: a list of purchased products with prices, order subtotal, shipping cost, payment method, order taxes, order total +* `[woo_customer_details]` — A brief collection of customer details such as: customer name, customer email, billing address + ## Notes * Setting a *global* or *custom* "Thank You" page overrides the normal "Order received" display post-checkout. @@ -43,3 +52,17 @@ This is handy when you want to: ### Checkout with thank you redirect set ![](assets/doc/img/custom-thank-you.gif) + +### Shortcodes + +#### `[woo_order_stub]` + +![](assets/doc/img/thank-you-redir.shortcode.stub.png) + +#### `[woo_order_table]` + +![](assets/doc/img/thank-you-redir.shortcode.table.png) + +##### `[woo_customer_details]` + +![](assets/doc/img/thank-you-redir.shortcode.customer.png) diff --git a/assets/doc/img/thank-you-redir.global.png b/assets/doc/img/thank-you-redir.global.png index d321654..c7cda4d 100644 Binary files a/assets/doc/img/thank-you-redir.global.png and b/assets/doc/img/thank-you-redir.global.png differ diff --git a/assets/doc/img/thank-you-redir.shortcode.customer.png b/assets/doc/img/thank-you-redir.shortcode.customer.png new file mode 100644 index 0000000..aab900e Binary files /dev/null and b/assets/doc/img/thank-you-redir.shortcode.customer.png differ diff --git a/assets/doc/img/thank-you-redir.shortcode.stub.png b/assets/doc/img/thank-you-redir.shortcode.stub.png new file mode 100644 index 0000000..54d1ad9 Binary files /dev/null and b/assets/doc/img/thank-you-redir.shortcode.stub.png differ diff --git a/assets/doc/img/thank-you-redir.shortcode.table.png b/assets/doc/img/thank-you-redir.shortcode.table.png new file mode 100644 index 0000000..1aa3fc0 Binary files /dev/null and b/assets/doc/img/thank-you-redir.shortcode.table.png differ