Questions tagged [address]

For questions about the use of shipping/billing addresses in Magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
212 views

showing 2 custom attributes in 1 column in customers grid

I am working on Magento system. In admin, customer has more than one address and I have street column in the grid which displays default billing street. But I want to search street name through all ...
8
votes
1answer
6k views

Difference Between Sales Quote and Sales Quote Address

I am looking which collect_totals observer I can use. There are two observers, sales_quote_collect_totals_before and sales_quote_address_collect_totals_before. They can be found in /app/code/core/...
3
votes
1answer
548 views

How can I change the position of the Country and the Postal code for email PDF invoices?

I would like to change the position of "country" with "zip code"? Everything else is correct. You can see the Value: Zürich, 8605 and Schweiz Those need to be changed, but where can I do ...
1
vote
1answer
157 views

Customer address does not automatically update in order details

This is the problem: A customer creates an order. After that he changes his address on the customer account page. The address on the order he already created does not automatically update. So we send ...
1
vote
3answers
3k views

How to remove street city field from billing address in checkout?

Is it possible to remove the address street city field from billing information in checkout page in magento? As already try in abstract page but it's not done, then to try in database to change ...
1
vote
1answer
172 views

what does the 'depend' key word mean?

I see in the admin panel this code {{depend prefix}} {{/depend}}: What does it mean?
1
vote
0answers
35 views

How to remove shipping address from onepage checkout? [duplicate]

I'm using Magento version 1.9.1.0. I need to remove shipping address from onepage checkout. I did change the code as below protected function _getStepCodes() { return array('login', 'billing', '...
0
votes
1answer
547 views

Default save address admin order

I'm trying to enable the "Save in address book" option to be Checked by default for all new orders placed by the Admin. I've edited the file app/design/adminhtml/default/independ/template/sales/order/...
1
vote
1answer
3k views

Disable billing address edit

is there a way to prevent Billing Address modification by all users? After entering billing address in registration i don't want to let users modificate it. Thank you very much.
2
votes
2answers
827 views

Customer Address Attributes aren't saved in sales_flat_order_address

I am using Enterprise, so I added some new Customer Address Attributes. <?php $addressAttributes = $this->getChild('customer_form_billing_address_user_defined_attributes');?> &...
1
vote
1answer
890 views

Is UPS Address Verification integrated with Magento

Is there a way to enable UPS address verification in the checkout process? UPS has a web service that supports this.
4
votes
3answers
4k views

what file to change for this to remove compare block?

when going to www.domain.com/customer/address/edit/id/1/ where one can edit their address for some reason there is a block compare in left sidebar what file do i need to edit to remove this? ...
1
vote
1answer
44 views

Address showing blank in My Account section, One Step Checkout & Transactional Emails

I have a strange issue happening on our production environment. Where the address is printed out in the template files across the site it is blank. This is happening across the My Account section, One ...
3
votes
1answer
1k views

Add custom attribute to sales_quote_address

I would like to add a custom attribute to the Sales_Quote_Address model in Magento. I searched on Google for a few hours now, and I can't find a way of doing so. Is it possible? Or do I have to set ...
0
votes
1answer
357 views

Add a new address during multishipping checkout

Is there a good way to allow users to add new addresses during multishipping checkout in-page (not having to go to a dedicated form page) the way many onepage checkouts function?
2
votes
0answers
303 views

Add or edit addresses during multishipping steps in page? [closed]

Is there a way to add the ability to edit or add a shipping address in the multishipping checkout process similar to how many onepage checkout extensions do it (example: http://www.magentocommerce.com/...
2
votes
1answer
363 views

Subtotal Discount not Applying to Multiple Shipping Addresses

I'm trying to implement a coupon code subtotal discount (10% off over $150) but it is not applying when shipping to multiple addresses. For example, I can place an order totaling $200. Adding the ...
1
vote
1answer
2k views

Allow countries keeps resetting and allowing all on frontend? [closed]

Really sorry if this has been answered elsewhere or before, but I have searched everywhere I can think of using every combination of keywords and can't seem to find a solution to my problem. I did ...
4
votes
2answers
807 views

Disable P.O. Box entry on Paypal Express?

Is it possible to disallow orders shipping to PO Boxes when a customer is checking out using Paypal Express?
3
votes
1answer
423 views

Why is there a quote_address_id field in sales_flat_order_address table?

Just stumbled upon the quote_address_id property of sales/order_address entity (sales_flat_order_address table) which in my case is always NULL. Well I wonder .. what is is for? My only guess it is ...
1
vote
1answer
419 views

Creating a new entity with existing entity type

I am fairly new with Magento and not sure if answer to this is very trivial, but looking at available help through search. I was not able to figure out the right way. For a solution, I am building ...
6
votes
4answers
2k views

Difference in saving of billing and shipping addresses

If a new billing address is also used for shipping (the corresponding checkbox is set) Magento of course creates a record in sales_flat_order_address for each. Is there any reason why ...
16
votes
3answers
2k views

Why Magento re-saves existing customer addresses during checkout?

During the checkout process even if customer selects existing address form the drop-down the customer_address entity is being re-saved. Any idea what for? Update: It starts at ...
1
vote
1answer
442 views

Change css and html of address within book.phtml

I want to change how the address within book.phtml is displayed on frontend. In detail it is this part of code: <h4><?php echo $this->__('Default Billing Address') ?></h4> <...
1
vote
1answer
632 views

Why there is $address->hasCouponCode() in qoute's _validateCouponCode() function?

I'm just courius why there is check for $address->hasCouponCode() in _validateCouponCode (Mage_Sales_Model_Quote). I think that there is no such data in model nor in database like coupon code for ...
6
votes
0answers
3k views

How to add city (not state!) in magento? [duplicate]

How can I add cities in city field in address form of magento in checkout? I want add city not state, want load it auto same as state State load drop-down after select country, now want city drop-...
1
vote
1answer
141 views

Customer Address create order

when you create an order for a customer via the adminhtml you can select from a list of addresses. I am trying to find where in the code i can override or use an observer to modify the list of ...
2
votes
1answer
1k views

Custom field not showing on order details (admin)

I created three new fields in the register address, I need to show them in the order details. I tried adding them going: System > Customers > Settings > Templates Address And added the fields with ...
2
votes
1answer
5k views

customer_address_save_before event and normalizing customer input with error notices

I have enabled customer address entry during account creation via flag in local.xml: <customer_account_create> <reference name="customer_form_register"> <action method="...
3
votes
3answers
2k views

Remove blank option from country dropdown list

To generate country drop down list Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect() method is responsible but generated drop down has blank entry at the top along with all other ...
5
votes
3answers
5k views

Manage number of address lines

Where ,i can change the number of address lines on the checkout page? Next code returns the number but where to set it? $this->helper('customer/address')->getStreetLines();
4
votes
1answer
676 views

Custom field default value

I have defined a lastname2 attribute for customer and customer_address, it shows up correctly in all forms, but when I'm creating a new address, its does not get 'prefilled' with the customer's value. ...
0
votes
1answer
4k views

Display custom field in customer address using address template

I tried to display a custom field in the customer address using "Address Templates" from admin interface, but it doesn't work. Here what I did: I installed this extension to manage the fiscal code on ...
1
vote
2answers
7k views

How to get the quote address object when user logged in?

One particular user logged in to his account from frontend and adds some items to the shopping cart. And then he logged out. And again when he logged in I want to get his quote address object. How to ...
7
votes
2answers
34k views

Getting shipping and billing addresses from a guest-checkout order

For orders checked out by a non-registered customer (i.e. guest), Magento doesn't create a customer. However, it does store the address information in sales_flat_order_address. How do you access this ...
0
votes
1answer
2k views

region_id value when saving to customer address book

The following is some code to save an address to the customer address book... what value do I need to be putting in the region_id and is it needed? $_custom_address = array ( ...
0
votes
1answer
314 views

How to add an object to a collection?

I can get customer address collection for each customer in front-end checkout process. What I need is I want to add a default address for all the customers in the collection. So in the onepage ...
0
votes
1answer
1k views

One Page Checkout - save customer address before complete the order

Does someone write an observer to save the customer address before the user completes the order ? This is possible ?
5
votes
1answer
15k views

Transactional Email: How to customize shipping address variable/html {{var order.getShippingAddress().format('html')}}

I am customizing Magento's transactional emails and am trying to remove the Telephone/Fax from displaying in the email as they are displaying as: T:- F:- The transactional mail template for new ...
4
votes
4answers
5k views

restrict user to place order if ZIP (PIN/Postcode) code is not from pre define ZIP (PIN/Postcode) code list

One of our client's shipper allow shipping to only specific ZIP codes. So we do have list of allowed ZIP codes. We want to restrict user to place order on checkout page or cart page if shipping ...
5
votes
1answer
1k views

One Page Checkout - Manually setAddress()

In One Page Checkout, the Billing class offers a setAddress(val) function that looks useful for setting the address that gets chosen when a user that has saved addresses selects one from the first-...
10
votes
3answers
6k views

Event/Observer for customer password change?

I'm looking for a way to hook into the event of customers changing their passwords. So if someone changes the password in the customer frontend, I'd like to send an e-mail somewhere. I did consult ...
1
vote
1answer
1k views

How to load an address by street attribute

I can load an address using the following code: $addresses = $addressObj->getCollection() ->addAttributeToSelect('*') ->addAttributeToFilter('firstname', $addressData['...
1
vote
3answers
8k views

How can I rearrange form fields for customer address attributes in the admin?

I am developing a Magento extension that adds several custom attributes to the customer address. My goal is to rearrange the address input fields in the admin order form. When I change the sort order ...
0
votes
1answer
1k views

Get shipping methods from address in multi-address shipping

I am trying to merge Addresses and Shipping information tabs of multi-address shipping in one step. I have the addresses dropdown, when I select any address option I want to get the Shipping methods ...
3
votes
2answers
565 views

What does the Quote's Address' “freeMethodWeight” represent?

I see it's used in Mage_Sales_Model_Quote_Address_Total_Shipping::collect() and it's roughly equivalent to the address' total weight. Also, various Carriers check against this value: if ($request->...
1
vote
1answer
3k views

how to add “gender” resp. a salutation to customer address?

I like to add gender (or a salutation) to the customer's address. While the gender already for a customer exists, I thought I can simply reuse it but somehow I get stuck at the source model which ...
0
votes
1answer
264 views

vat_id in customer_address not present

I updated a project from Magento 1.5 to Magento 1.7.0.2. In the latest Mage CE Version we have vat_id attribute in customer_address. During checkout this field is used to validate a customer for 0% ...
2
votes
1answer
574 views

Two Estimate Shipping blocks on cart page for two different addresses

I'd love to have two "Estimate Shipping and Tax" blocks: One to display domestic rates to a default address. This one would have no form and would be displayed at all times. The other to estimate ...
2
votes
1answer
1k views

How can I remove the state (Bundesland) field completely in a German shop?

When using Market Ready Germany there was such an option. But we use German Setup. Is there a clean and easy solution to remove this field fully from the system?