Cart

Installation instructions for SmartPOST

If you are using the Matkahuolto Connector or Itella Prinetti extensions, make sure you install their latest versions as well.

 

  1. Buy and download the installation package.
  2. Unzip the package to your computer.
  3. Make sure to disable Compilation in the Magento settings (System --> Tools --> Compilation).
  4. Copy all the packaged files to the Magento installation directory.
  5. Open app/design/frontend/[package]/[theme]/template/checkout/onepage/shipping_method/available.phtml and insert the code below between the <dd> and <ul> tags, as shown. When using the Default theme the correct spot is around the rows 35-37. Remember to save the filea afterwords.
    <dt><?php echo $this->getCarrierName($code) ?></dt>
        <dd>
        <?php // The SmartPOST code starts here ?>
        <?php if($code == 'itellaSmartPost'): ?>
            <?php echo $this->getLayout()->createBlock('core/template', 'smartpost_search')->setTemplate('smartpost/search.phtml')->toHtml() ?>
        <?php continue; endif ?>
        <?php // The SmartPOST code ends here ?>
        <ul>
            <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
  6. Sign in to Magento administration and clear the cache (System --> Cache Management).
  7. Sign out of the admin view.
  8. Sign in again.
  9. If you used Compilation before, enable it again (System --> Tools --> Compilation).
  10. All set!

Optional supported checkout modules:

  • GoMage - Light Checkout
  • Web And People - Onepage Checkout