Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Stores

Stores

A store is a single retail storefront.

The table below describes some of the Store's elements:

XML Element

Definition

<state>

The store's state determines the store's accessibility. The store's state can be one of three values:

  • 200 - Open
  • 100 - Restricted Access
  • 0 - Under construction

<type>

3 character description of the stores type. Default value is "B2B".

<email_sender_name>

The name used on emails sent from the store to customers.

<email_sender_address>

Email address used for emails sent from the store to customers.

<credit_card_cvv2_enabled>

Enables or disables the use of CVV2 security for credit card verification.

Sample XML: Stores


<stores>
<store enabled="true" code="SLRWORLD">
    <globalization default_currency="USD" default_locale="en" content_encoding="UTF-8" sub_country="WA" country="US" timeZone="PST8PDT"/commerce-legacy/>
    <url>http://slrworld.elasticpath.com:8080/storefront</url>
    <name>SLR WORLD</name>
    <state>200</state>
    <type>B2B</type>
    <description>A digital SLR camera demo store.</description>
    <catalog>SLRWORLDCATALOG</catalog>
    <display_out_of_stock>true</display_out_of_stock>
    <email_sender_name>CustomerService@SomeDomain.com</email_sender_name>
    <email_sender_address>CustomerService@SomeDomain.com</email_sender_address>
    <credit_card_cvv2_enabled>true</credit_card_cvv2_enabled>
    <store_full_credit_cards>true</store_full_credit_cards>
    <locales>
        <locale>en</locale>
    </locales>
    <currencies>
        <currency>USD</currency>
    </currencies>
    <warehouses>
        <warehouse>USWarehouse1</warehouse>
    </warehouses>
    <tax_codes>
        <guid>502</guid>
        <guid>500</guid>
    </tax_codes>
    <tax_jurisdictions>
        <jurisdiction>FF6E6776-16FB-7BB1-4B7E-DDF2F0D73FE7</jurisdiction>
    </tax_jurisdictions>
    <payment_gateways>
        <gateway>GiftCertificate</gateway>
        <gateway>DemoPaymentProcessor</gateway>
    </payment_gateways>
    <credit_card_types>
        <type>American Express</type>
        <type>Visa</type>
        <type>MasterCard</type>
    </credit_card_types>
</store>
...
</stores>