View Single Post
  #6  
Old 05-09-2010, 01:19 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: How to add php code?

Just so you know, it probably won't work.
If Wordpress has any php functions with the same names as in X-cart (which is likely) then you'll have errors. You will probably have session problems as well.

As for how, I believe you'll need to put that into init.php
You will also need to assign the php variables as smarty variables to call via {$variable} in your template.
__________________
- Shane Munroe
Reply With Quote