Difference between default shipping and default billing address in magento


Array
(
    [0] => Array
        (
            [customer_address_id] => 2
            [created_at] => 2011-05-18 12:03:05
            [updated_at] => 2011-05-18 12:09:10
            [increment_id] => 
            [city] => Mumbai
            [company] => 
            [country_id] => IN
            [fax] => 
            [firstname] => Pragnesh
            [lastname] => Karia
            [middlename] => 
            [postcode] => 400078
            [prefix] => 
            [region] => Maharashtra
            [region_id] => 0
            [street] => Station Road
Bhanup(w)
            [suffix] => 
            [telephone] => 02225950363
            [is_default_billing] => 
            [is_default_shipping] => 1
        )

    [1] => Array
        (
            [customer_address_id] => 3
            [created_at] => 2011-05-18 12:05:55
            [updated_at] => 2011-05-18 12:09:10
            [increment_id] => 
            [city] => Billing City
            [company] => 
            [country_id] => IN
            [fax] => 
            [firstname] => Prags 
            [lastname] => Billing
            [middlename] => 
            [postcode] => 400078
            [prefix] => Mr
            [region] => 
            [region_id] => 0
            [street] => Billing Street
Billing Road
            [suffix] => 
            [telephone] => 98219773587
            [is_default_billing] => 1
            [is_default_shipping] => 
        )

)

If both Address(billing and shipping) is same

Array
(
    [0] => Array
        (
            [customer_address_id] => 1
            [created_at] => 2011-05-09 21:49:10
            [updated_at] => 2011-05-09 21:49:10
            [increment_id] => 
            [city] => Mumbai
            [company] => PK
            [country_id] => IN
            [fax] => 
            [firstname] => Pragnesh
            [lastname] => Karia
            [postcode] => 400078
            [region] => Maharashtra
            [street] => Bhandup
            [telephone] => 9821933384
            [is_default_billing] => 1
            [is_default_shipping] => 1
        )

)

Share on Facebook




About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools