Skip to content

Instantly share code, notes, and snippets.

@adam-paterson
Created September 27, 2013 14:34
Show Gist options
  • Save adam-paterson/6729537 to your computer and use it in GitHub Desktop.
Save adam-paterson/6729537 to your computer and use it in GitHub Desktop.
some shit
public function getEstimateRates()
{
if (empty($this->_rates)) {
$groups = $this->getAddress()->getGroupedAllShippingRates();
$this->_rates = $groups;
}
return $this->_rates;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment