Continue for adding multiple tablerate

(more…)
magento
Magento – Multiple Tablerate (2)
Continue for adding your own Multiple Tablerate:

Duplicate from
app\code\core\Mage\Shipping\Model\Mysql4\Carrier\Tablerate.php
app\code\core\Mage\Shipping\Model\Mysql4\Carrier\Tablerate\Collection.php
to
app\code\core\Mage\Shipping\Model\Mysql4\Carrier\Tablerate3.php or (Tablerate(n).php)
app\code\core\Mage\Shipping\Model\Mysql4\Carrier\Tablerate3\Collection.php or (Tablerate(n)\Collection.php)
(more…)
Magento – Multiple Tablerate (1)
Someone asked me how to do a multiple tablerate, and actually I found it on magento forum. I am gonna list the code that I modified here:
\app\code\core\Mage\Shipping\Model\Carrier\Tablerate.php to \app\code\core\Mage\Shipping\Model\Carrier\Tablerate3.php or Tablerate(n).php
That is screen shot if you just copy my code to your site that will show on your Magento Admin Panel:

Note: This is my modified version, please read comment. In your case, your file should be similar to \app\code\core\Mage\Shipping\Model\Carrier\Tablerate.php, but except you will add a number after tablerate for Tablerate(n).
(more…)
Magento – Add a shipping option with product attributes
I have been playing with Magento for couple days, and trying to understand the code inside it. It looks quite complicate.. probably because I am not really familiar with its frameworks. Basically it is PHP, but since files and functions are breaking up, and I have hard time to read its documentation, I actually still stuck how to start with it… Here is my task: I want to add a shipping option when my item is a small item (so that I don’t have to send it as parcel and save some bucks for customer). I have already defined two shipping option: Hong Kong Post Air Parcel and Hong Kong Speed Post. Here is my solution:
(more…)