WP Manifestindependent plugin directory
manifest / ecommerce / custom-thank-you-pages

Custom Thank You Pages

Set custom thank-you pages based on products or payment gateway rules with priority.

by Maxi Tromer · github.com/maxitromer/custom-thank-you-pages · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/maxitromer/custom-thank-you-pages/archive/refs/heads/main.zip

Custom Thank You Pages for WooCommerce

A WordPress plugin that allows you to set custom thank you pages for WooCommerce based on specific products or payment gateways with priority rules.

Features

  • Create multiple thank you page rules
  • Set rules based on specific products
  • Set rules based on payment gateways
  • Priority-based rule system
  • Includes useful shortcodes for order information
  • Easy to configure through WooCommerce settings

Installation

  1. Download the plugin zip file
  2. Go to WordPress Admin > Plugins > Add New
  3. Click "Upload Plugin" and select the downloaded zip file
  4. Click "Install Now"
  5. Activate the plugin

Configuration

  1. Navigate to WooCommerce > Custom Thank You Pages in your WordPress admin
  2. Click "Add Rule" to create a new thank you page rule
  3. For each rule, you can set:
    • Product (specific product or any product)
    • Payment Gateway (specific gateway or any gateway)
    • Thank You Page URL (the destination URL)
    • Priority (higher number = higher priority)
  4. Click "Save Changes" to apply your rules

Available Shortcodes

Use these shortcodes in your custom thank you pages:

  • [custom_thank_you_order] - Displays the order ID
  • [custom_thank_you_customer_first_name] - Shows customer's first name
  • [custom_thank_you_customer_last_name] - Shows customer's last name
  • [custom_thank_you_customer_email] - Shows customer's email
  • [custom_thank_you_order_details] - Lists ordered products and quantities

Example Use Cases

  1. Different thank you pages for digital vs physical products
  2. Custom thank you pages based on payment methods
  3. Special thank you pages for specific premium products
  4. Default thank you page for all other scenarios

Notes

  • Rules are processed in order of priority (highest to lowest)
  • At least one rule should be configured for the plugin to work
  • Make sure the thank you page URLs are valid and accessible
  • Compatible with WooCommerce 3.0 and above