X-Cart Mods, X-Cart Addons - WebsiteCM
Did you know...
X-Cart-SEO.com is available as an extensive x-cart search engine optimization resource?
X-Cart Excellence eZine
Subscribe for proven tips and special discounts!
Cart is empty
X-Cart Services
X-Cart Customization X-Cart Optimization
X-Cart Mods
Recommended Packages Must Have Mods Reseller Program
Filter Mods By Version
Mods By Purpose
X-Cart Administration X-Cart Packages X-Cart Appearance X-Cart Conversion X-Cart Customers X-Cart Integration X-Cart Marketing X-Cart Navigation X-Cart Search X-Cart SEO X-Cart Shopping Feeds X-Cart Upselling X-Cart Templates
Mods By Firm
WebsiteCM BCSE Firetank

WebsiteCM on Twitter

Update your X-Cart Smarty Version

Update your X-Cart Smarty Version
Category: X-Cart Tutorials
Posted: Feb 2, 2010
Synopsis: Article explains how to upgrade your smarty version when running x-cart.

X-Cart comes packaged with the Smarty Template system, but once installed it's also important to keep Smarty updated for security and performance improvements.

Follow these steps to update your Smarty version for x-cart. Note the instructions presume that you are upgrading from Smarty 2.6.20 to 2.6.26 so if your versions differ just substitute them into the instructions accordingly.

  1. Download smarty from: Smarty.net
  2. Unzip the files to your computer.
  3. If you've customized any of your smarty settings (i.e. setting compile_check and/or force_compile to false) then also modify Smarty-2.6.26/Smarty.class.php as desired.
  4. Upload the files from Smarty-2.6.26/libs/* to your server folder overwriting files at Smarty-2.6.20/*.
  5. Rename the Smarty-2.6.20 folder on your server to Smarty-2.6.26.
  6. Open smarty.php located in your root x-cart folder (the same folder as home.php and cart.php).

    FIND:
    define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.20".DIRECTORY_SEPARATOR);

    CHANGE TO:
    define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.26".DIRECTORY_SEPARATOR);

This will complete your x-cart smarty upgrade.





Site Map