Hiding Fields

Posted by:

Sometimes you want to add elements in your template but you not always want to show them, to hide elements of the template when a condition is met (such like the order was refunded or it has an specific product) do the following:

1.- Select the field in the template designer and click on conditions

2.- Configure the condition that you want to use, in the example bellow the field will be hidden if the order has a product with the name “My Product”

That’s it now the product will be hidden when the condition is met.

0

Hiding pdf templates

Posted by:

By default all the pdf templates that you created will be shown in the orders table of woocommerce:

This is generally perfect but, things could get tricky when you create conditional templates, by default all the templates are going to be shown even if the condition that you configure doesn’t match the current order

To hide the conditional templates when the order doesn’t match its configured condition do the following:

1.- Go to template settings:

2.- Click in “Condition”

3.- Check don’t show this template in the orders page if the order doesn’t met this condition

That’s it! now the template will only be shown in orders that match the configured condition.

0

Creating Invoices Conditionally (Full Version Only)

Posted by:

If you want to send an specific type of invoice only when a condition is met (for example an specific product or product category was purchased). Please do the following:

1.- Open ‘Template Settings’

2.- Go to the Condition tab

3.- Define your condition

That’s it! Now your invoice is only going to be created when the condition is met!

0