SIDEBAR
»
S
I
D
E
B
A
R
«
Smartpost extension installation
Feb 10th, 2010 by Sven

This page describes installation Smartpost Magento extension. As you can see, it’s quite straightforward but some tips may be helpful. You need to have a fully working Magento installed as a prerequisite. Smartpost extension requires at least Magento version 1.4.

We call your website your.magento-site.com. Replace it with fully qualified name of your website.

  1. Extract the Magento_Smartpost.zip archive to a temporary folder. This is your $source folder. Your Magento installation folder is your $destination folder.
  2. Copy files and folders from $source/app folder to $destination/app folder. It is important to copy all included subfolders and their structure!
    Example in Linux: go to source folder, for example cd vhosts/your.magento-site.com/tmp. This is where you unpacked the files. app folder is vhosts/your.magento-site.com/tmp/app. So you’re in tmp folder and your Magento installation is in vhosts/your.magento-site.com/htdocs
    Then copy the app folder like this: cp -R app ../htdocs/app
  3. Now remove your Magento cache from $destination/var/cache (delete that folder). Also remove $destination/app/etc/use_cache.ser if it exists.
  4. Open your Magento admin and go to System->Configuration->Shipping Methods. You should see Smartpost there.
  5. Configure your Smartpost. Most fields should be self-explanatory.
  6. SmartPOST E-Teenindus API URL is http://eteenindus.smartpost.ee/data/orders.phpserialize

Loading destinations

Smartpost extension now supports automatic loading of Smartpost destinations. After you have installed Smartpost Magento extensions, open Shipping Methods->Smartpost in your Magento backend. After you click “Pull destinations” all current Estonian destinations are loaded into Magento. Click “Save Config”.

Configuring tariff classes

Smartpost extensions supports flexible shipping tariff class configuration.

Open Shipping Methods->Smartpost in your Magento backend.

  1. Insert tariff class name into field “Class name (string)
  2. Insert tariff class value into field “Price” (decimal)
  3. Click “Save Config”. Add more tariff classes in the same way.

In order to bind shipping tariff class to a product you need a new attribute. Open Catalog->Attributes->Manage attributes.

Click on “Add new attribute”.

  1. Attribute = priceclass
  2. Scope = “store view”
  3. Catalog Input Type for Store Owner = dropdown

Leave all other fields to their default values.

Open tab “Manage label / Options”

Under titles add “Smartpost Tariffclass” to field “Admin”

Click “Save Attribute”

Add all defined tariff classes by clicking “Add option”. Note that the tariff class names have to be exactly the same that you defined under Smartpost extension configuration.

Open Catalog->Attributes->Manage Attribute Sets”

Click on “Default”. Drag attribute “priceclass” from the “Unassigned attributes” under  “Prices” groups on the left.

Click “Save Attribute Set”.

Do the same for all Attribute Sets.

Configuring products

Now you are able to configure Smartpost tariffclasses for your products. Click Catalog->Manage Products. Click on any product you want to change. In product edit screen under tab “Prices” you can see new attribute “Smartpost Tariffclass”. Select correct tariffclass for given product and click “Save”.

»  Substance:WordPress   »  Style:Ahren Ahimsa
© Copyright Wasabi Ltd 2010