Magento Add Handling Fee for International Shipping

Well today’s fun project was adding a handling charge to magento when a customer is ordering from outside the US,.

Update the following…
/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php

1) Add a public variable that you can update

public $countryId = ‘US’;

2) Locate the following function public function checkAvailableShipCountries
add
$this->countrId = $request->getDestCountryId();

3) Locate the function getMethodPrice(
add

if( $this->countryId() != ‘US’ ){
$price += (handling fee);
}

4) All done save and enjoy

Tags:

Comments are closed.