oo

Setting Up Warehouses

Warehouses represent physical locations where you store product inventory. To activate a warehouse, you must set its geolocation. The Fedex shipping method uses this geolocation to calculate shipping costs. Read Using the Fedex Shipping Method for more information.

You can use a single warehouse to serve multiple channels or serve a single channel with multiple warehouses. When using the Minium or Speedwell accelerators, three sample warehouses serve one channel.

note

Before creating a warehouse, you must enable the applicable country and region of the warehouse. See Adding Regions for more information.

Adding a Warehouse

  1. Open the Global Menu (Global Menu) and navigate to CommerceWarehouses.

  2. Click Add (Add Button).

    Click the Add button to create a new warehouse.

  3. Enter a name.

  4. Click Submit.

    This creates a new inactive warehouse and opens its details tab.

    Enter details for the new warehouse and activate it.

  5. (Optional) Edit or localize the name and description.

  6. Enter the latitude and longitude values for the warehouse in the Geolocation section.

    Alternatively, you can configure the Bing Geocoder to generate a warehouse’s geolocation automatically based on the warehouse’s address.

  7. Enter an address for the warehouse in the Address section.

  8. Switch the toggle to Active.

    important

    You must set the geolocation before you can activate the warehouse.

  9. Link the warehouse to one or more channels. This determines the product inventory for those channels.

    Click the Eligibility tab, select Specific Channels, enter a channel name and click Select.

    Associate the warehouse to all available channels or specific channels.

  10. Click Save.

Using Bing Geocoder to Set a Warehouse’s Geolocation

Liferay integrates with the Bing Maps API to generate geolocations from a warehouse address automatically. To use this feature, you must have a Bing Maps account and a Bing Maps Key.

Then, follow these steps to configure the Bing Geocoder for your instance:

  1. Open the Global Menu (Global Menu), and navigate to Control PanelSystem SettingsCommerceShippingBing Geocoder.

  2. Enter your API Key.

    Enter your API key for the Bing Maps API.

  3. Click Save.

Once the geocoder is configured, you can generate warehouse geolocations for any warehouse with an address. Navigate to the warehouses page, click the Actions button (Actions Button) for the desired warehouse, and select Geolocate. The geocoder converts the address into latitude and longitude coordinates.

Click the Actions button for the desired warehouse and select Geolocate.

Liferay 7.4 U46/GA46 and Below

  1. Open the Global Menu (Global Menu), and navigate to CommerceWarehouses.

  2. Click Add (Add Button).

    Click the Add button to create a new Warehouse.

  3. In the Details section, enter a Name and Description (optional).

    Enter details for the new warehouse and activate it.

  4. To activate the warehouse, switch the toggle to Active. Ensure that you enter its geolocation before activation.

  5. In the Channels section, use the checkbox to associate the warehouse to a channel. The associated warehouses determine the product inventory for a channel.

  6. Enter an address for the warehouse in the Address section.

  7. Enter the latitude and longitude values for the warehouse in the Geolocation section.

    Alternatively, see Using Bing Geocoder to Set a Warehouse’s Geolocation to learn how to automatically generate a warehouse’s geolocation.

  8. Click Save.

Commerce 2.1 and Below

To add a new warehouse,

  1. Go to Control PanelCommerceSettings.

  2. Click the Warehouses tab.

  3. Click Add (Add Icon) and enter the following information.

    • Name: North Vegas Warehouse
    • Description: North Vegas Processing Center
  4. Switch the toggle to Active.

  5. Enter an address.

  6. Select a channel. Product inventory for the channel depends on the associated warehouse.

  7. Enter the mandatory geolocation data based on your warehouse’s location.

    • Latitude: 36.282974
    • Longitude: -115.136

    Configuring the newly created warehouse.

  8. Click Save when finished.

The new warehouse is now active ready to use.

Capability:
Feature: