Modify templates due to conditions

Do you want to display other templates if they do not have a price? Then this hook is very suitable for this.

These are just two examples. You will find all the details on the Hook on this page.

Output other template if price equals 0

With this hook, for example, you override the original 4567 with the original 1234 if the selling price of the product is 0:

 

Other template if no offers are available

If you want to display a different template, if there are no more offers (which have a selling price), you can use this hook.

 

Tip: Use a plugin like My Custom Functions or a child theme to build your hooks!

Do you still have questions? No problem :-)
We are happy to answer your questions in our forum.