View Product Page

Rules

If you want to show a different Thank you page based on the products or categories purchased by your customers or the payment method they used to pay the order, go to YITH > Customize Thank You Page > Rules and click on Add rule.

Rules tab

 

Product rules

Let’s see how to create a product-based rule.

After clicking on Add rule, a modal will open. Here, you can start creating and setting up the rule.

Product-based rule

  • Rule name: enter a name that will define the rule;
  • Rule type: select Products in the dropdown;
  • Choose products: search and add the products that will trigger the rule;
  • When an order is placed: decide what to show after customers placed the order:
    • Show the default WooCommerce Thank You page
    • Show a custom Thank You page: by selecting this option, you can choose the Thank you page to show in the entry Thank You page to show

 

    • Redirect users to a specific URL: by selecting this option, you can enter the URL to which users will be redirected in the entry Write the URL;

URL redirect

  • Priority: define the priority you want to give to the rule. To learn more about priorities, please go to this page.

Set rule priority

Now click on Add rule to save it.

Category rules

Let’s see how to create a category-based rule.

After clicking on Add rule, a modal will open. Here, you can start creating and setting up the rule.

How to create category rules

  • Rule name: enter a name that will define the rule;
  • Rule type: select Categories in the dropdown;
  • Choose categories: search and add the categories that will trigger the rule;
  • When an order is placed: decide what to show after customers placed the order:
    • Show the default WooCommerce Thank You page
    • Show a custom Thank You page: by selecting this option, you can choose the Thank you page to show in the entry Thank You page to show

    • Redirect users to a specific URL: by selecting this option, you can enter the URL to which users will be redirected in the entry Write the URL;

URL redirect

  • Priority: define the priority you want to give to the rule. To learn more about priorities, please go to this page.

Set rule priority

Now click on Add rule to save it.

Payment method rules

Let’s see how to create a payment method-based rule.

After clicking on Add rule, a modal will open. Here, you can start creating and setting up the rule.

How to create a payment method rule

  • Rule name: enter a name that will define the rule;
  • Rule type: select Payment methods in the dropdown;
  • Choose payment method: search and add the payment methods that will trigger the rule;
  • When an order is placed: decide what to show after customers placed the order:
    • Show the default WooCommerce Thank You page
    • Show a custom Thank You page: by selecting this option, you can choose the Thank you page to show in the entry Thank You page to show;

    • Redirect users to a specific URL: by selecting this option, you can enter the URL to which users will be redirected in the entry Write the URL;

URL redirect

  • Priority: define the priority you want to give to the rule. To learn more about priorities, please go to this page.

Set rule priority

Now click on Add rule to save it.