Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 146

Denotes Question related to magento shipping address. https://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_address.html

6
votes
Magento supports multiple formats for addresses. IN this case the oneline format is used. You can view and edit this format in System->Configuration->Customer Configuration->Address Templates->Text On …
answered Feb 27 '14 by Marius
0
votes
The reason you get 2 values is that, from the technical point of view, the address object has 2 fields for region. This happens because not all the countries have support for regions. For countries th …
answered Sep 25 '14 by Marius
3
votes
I think you can send the full quote to the observer and get the data from quote in there <?php Mage::dispatchEvent( 'no_quotes_available', array( 'quote' => Mage::getSingleton('checko …
answered Jun 10 '15 by Marius
5
votes
$addressId = your id here; $address = Mage::getModel('customer/address')->load($addressId); $customer = $address->getCustomer(); $defaultBilling = $customer->getDefaultBillingAddress(); if ($defaultBi …
answered May 30 '16 by Marius
0
votes
$addressId = ...your id here...; $address = Mage::getModel('customer/address')->load($addressId); $street = 'your street here'; //or if you want to have 2 lines on the street //$street = array('First …
answered Dec 7 '15 by Marius
6
votes
$billing = $order->getBillingAddress()->getFormated(); $shipping = $order->getShippingAddress()->getFormated(); getFormated supports an optional parameter that can be html or text.
answered Jan 13 '16 by Marius
6
votes
You can just go to System->Configuration->Tax->Calculation Settings and set the field Tax Calculation Based On to Shipping Address. This way if the user tries to trick you and fills in the default add …
answered Mar 19 '14 by Marius
3
votes
The shipping address is displayed from the template app/design/adminhtml/default/default/template/sales/order/view/info.phtml. this is the piece of code that does it (near the end of the file). <?ph …
answered Mar 19 '14 by Marius
3
votes
if you want this for all regions not only US, you need to change the method Mage_Directory_Model_Resource_Region_Collection::toOptionArray. Instead of this: $options = $this->_toOptionArray('regio …
answered Jun 10 '15 by Marius
9
votes
You can get the customer email like this in the invoice or order templates: {{var order.getCustomerEmail()}} SO you can try to add Email: {{var order.getCustomerEmail()}} after {{var order.sh …
answered Sep 2 '14 by Marius
2
votes
You have to copy the file in local folder. And, yes, copying just one file works. You need this because the Abstract class is not instantiated, and in Magento you can rewrite using config.xml only cla …
answered Nov 11 '13 by Marius