Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8693519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:33:43+00:00 2026-06-13T00:33:43+00:00

If I load a customer in the following way: $customer = Mage::getModel(‘customer/customer’) ->load($customer_id); Whats

  • 0

If I load a customer in the following way:

$customer = Mage::getModel('customer/customer')
    ->load($customer_id);

Whats the difference between:

$customer -> getDefaultShippingAddress();

and

$customer -> getPrimaryShippingAddress();

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:33:43+00:00Added an answer on June 13, 2026 at 12:33 am

    They return the same result

    See /app/code/core/Mage/Customer/Model/Customer.php

     /*
     * @return Mage_Customer_Model_Address
     */
    public function getPrimaryBillingAddress()
    {
        return $this->getPrimaryAddress('default_billing');
    }
    
    /**
     * Get customer default billing address
     *
     * @return Mage_Customer_Model_Address
     */
    public function getDefaultBillingAddress()
    {
        return $this->getPrimaryBillingAddress();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following code to load partialView : $(document).ready(function () { $(#customer_operations_container).load('/Customer/_AddCustomer'); } Could
i have the following dozer mapping: com.company.xx.xx.model.MyClass com.company.xx.xx.model.MyClassToMap afield afield customer customer I load
I've written some customer class loader that load some classes from a certain directory
Following problem: You've got a Configurable product with one random attribute. The customer chooses,
I have following XML:- <customer> <id>ALFKI</id> <name>Alfreds Futterkiste</name> <address>Obere Str. 57</address> <city>Berlin</city> <postalcode>12209</postalcode> <country>Germany</country>
I have links like following. <a href=/Customer/_EditCustomer?CustomerId=2 class=customer_details>Deneme Müşteri 2</a> <a href=/Customer/_EditCustomer?CustomerId=3 class=customer_details>Deneme Müşteri
I have following code snippet in c# public class Customer { public Customer() {
I was considering using Drools Fusion to implement the following exemplary rules: if customer
In a way following on from reading a windows *.dmp file Having received a
In VB I use the following to load a DLL into memory, and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.