How Do PHP Snippets Work for the Detailed Product Template?

For advanced usage, PHP snippets can be included in the templates. Use PHP snippets only if necessary, because they will slow down the generation of the pages. Example of simple PHP snippet: Here is an example of a PHP Snippet for the Detailed Product Template:

<php> if (trim($productProperties['property_01']) != '') { echo 'From PHP snippet, productProperty01 = '.$productProperties['property_01']; } </php>