Skip to content

Instantly share code, notes, and snippets.

@dublado
Created April 30, 2012 17:40
Show Gist options
  • Select an option

  • Save dublado/2560365 to your computer and use it in GitHub Desktop.

Select an option

Save dublado/2560365 to your computer and use it in GitHub Desktop.
get zip code magento
$postcode = new Mage_Checkout_Block_Cart_Shipping;
$zip_code = $postcode->getEstimatePostcode();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment