Skip to main content
Default Customer Address

Learn how to configure the default customer address required to display the average additional fees involved in the purchase.

Olga Tereshina avatar
Written by Olga Tereshina
Updated over a year ago

X-Cart uses the shipping address stored in the customer account when calculating delivery costs and adding tax fees to a registered customer's order. But what if a customer is not logged in or is just an anonymous buyer? How would a store calculate tax fees and delivery costs in this case?

X‑Cart uses the settings defined manually by the store admin as the default customer address or the Geolocation add-on data to calculate the average additional fees involved in the purchase and displays these fees to the visitor until they specify the actual shipping address in the checkout.

Default Customer Address: Manual Setup

A store admin can configure the default customer address in the store's Admin area.

  • X-Cart 5.5.1.x: Store > Cart & Checkout, Default Customer Address tab

  • X-Cart 5.5.0.x: Store > Cart & Checkout, Default Customer Address tab

  • X-Cart 5.4.x: Store setup > Cart & Checkout, Default Customer Address tab

The settings available on this page are as follows:

  • Address line: Define a default customer street address if applicable. This setting is optional.

  • Country: Use the drop-down to select a country you want to set as a default country for all unregistered customers' taxes and shipping calculations.

  • State: For countries with states, use the drop-down to select a state you want to set as a default state for all unregistered customers' taxes and shipping calculations.

  • City: Define a city or town you want to set as a default city for all unregistered customers' taxes and shipping calculations.

  • Zip/postal code: Define the customer's postal code (zip code, postcode, Eircode, etc.) that should be used as a default postal code for the taxes and shipping calculations for all unregistered customers.

  • Address type: Select the address type from a drop-down. You can choose between residential and commercial types of addresses.

After adjusting the settings, click Submit to make the configuration active.

If you configure the shipping and taxes rates in your store to work for the default customer address zone, any guest customer will see these rates both on the cart page and at checkout before they define the shipping address:

  • Cart page

    540-cus-cart-page.png
  • Checkout page

    540-cus-checkout.png


Default Customer Address: Geolocation Add-on

If you need the default customer address to be more flexible and match the actual customer's location, use the facilities of the Geolocation add-on instead of the manually preconfigured default customer address.

With the Geolocation add-on enabled, your online store will determine the default customer address based on the customer IP:

540-cus-geolocation.jpg
540-cus-cart-geolocation.png

For more info, see Geolocation Add-on.

Related pages:

Did this answer your question?