New Zenner
- Join Date:
- Jun 2010
- Posts:
- 16
- Plugin Contributions:
- 0
Adding extra amount to flat shipping base on pincode
I want to add extra amount to flat rate shipping based on buyer's pincode.I stored extra amount in session.But when i tried to add that amount in flat.php,its not working.```php
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_FLAT_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_FLAT_TEXT_WAY,
'cost' => MODULE_SHIPPING_FLAT_COST +$_SESSION['postage_fee'] )));