I want add php code in header & footer in my shopping cart custom template. I used the following code for including those header & footer ( both are php files ).
<tr>
<td>
[-- ShoppingCartHeader --]
[-- INCLUDE ss_header.php --]
</td>
</tr>
.
..
...
<tr>
<td>
[-- ShoppingCartFooter --]
[-- INCLUDE ss_footer.php --]
</td>
</tr>
Suppose , those php files have :
<?php
$menu="test";
echo $menu;
?>
But the problem is, the output is :
<?php
$menu="test";
echo $menu;
?>
with php tags , not the value test.
Is there any solution? Can't I use php code in my custom template ?