Skip to content

Instantly share code, notes, and snippets.

View mjakubowski's full-sized avatar
:shipit:
super productive

Marc Jakubowski mjakubowski

:shipit:
super productive
  • InterNations
  • Munich
View GitHub Profile
@mjakubowski
mjakubowski / Custom_Tax_Model_Calculation.php
Created May 27, 2011 14:26
Magento (v1.4.1.1):Fix tax calculation for tax based on different shipping countries and prices entered including tax
<?php
class Custom_Tax_Model_Calculation extends Mage_Tax_Model_Calculation
{
/**
* Ermitteln, ob Steuerherkunft gefaked werden muss, um dann Steuersatz dese Ziellandes zu verwenden
*
* @param Varien_Object $request
* @return float
*/
public function getStoreRate($request, $store=null)