Information for: DEVELOPERS   PARTNERS

Configuring Magento for Acquia Commerce Manager

Magento, an open-source commerce platform that can create and share customer information, transactions, products, goods, and services, can be used with Acquia Commerce Manager to create a full user commerce experience for your customers.

Setting up Magento

Acquia Commerce Manager and Magento must be configured to work together to allow you to synchronize your products and users between the two platforms. To do this, complete the following steps:

  1. Download Magento. Acquia recommends that you use the latest stable release (version 2.x or greater).

  2. Install Magento on your commerce hosting server. For more information about the installation process, see Magento’s installation instructions.

  3. Using Composer, install the Acquia Commerce Manager extension for your Magento instance.

  4. Sign in to Magento as an administrator.

  5. Go to System > Integrations to configure the Acquia Commerce Manager integration.

  6. Click either the gear icon or the information icon Magento information icon next to AcquiaConductor.

  7. Make note of the following access details, for use later in the process:

    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret
  8. Contact your account manager to create an Acquia Commerce Manager instance to connect Magento and Drupal.

  9. Complete the following steps:

    1. Go to Stores > Configuration > Services > Magento Web API.

    2. Add the Acquia Commerce Conductor URL.

    3. Set the Connector version to Version two unless you have reason to set it differently.

    4. Set Enable Conductor API Module to Yes.

    5. Open the Acquia Commerce API Security Settings fieldset and add the following:

      • HMAC Key ID
      • HMAC Key Secret
      • ACM ID

      These values are based on the site created in Mapping stores and store views.

    6. Click Save Config.

  10. In Drupal, initialize your categories, and then your products to Drupal using Commerce > Configuration > Synchronize.

Note

Categories are updated synchronously and should appear quickly. Products, however, are updated asynchronously, and are processed in groups to maintain website performance.

If you have commerce data in Magento as Categories and Products, these should populate in your Drupal website. After synchronization occurs, your categories in Magento should appear as Taxonomy terms in Drupal. You can check for these in your Drupal website.

To start this process, see Adding categories and products to Acquia Commerce Manager.

Magento version differences for importing products

After products are imported into Magento (System > Import > Products), the version of Magento you are using determines what is done with the imported products:

  • Magento Enterprise Edition (EE): The imported products are sent to the Commerce Connector Service asynchronously in small batches, using Magento EE MessageQueue classes.
  • Magento Community Edition (CE): The imported products are not sent to the Commerce Connector Service. In this case, to synchronize your Drupal product data with the newly Magneto-imported products we recommend instigating an asynchronous product import from Drupal.

Additional settings

For some configuration needs, such as mapping multilingual stores and store views, you may need additional information, such as the Magento store Base URL.

  1. Sign in to Magento as an administrator.
  2. Navigate to Stores > Configuration > General > Web.
  3. Click Base URLs or Base URLs (secure) as needed for additional configuration.
  4. If you have made changes, click Save Config.
  5. Add or note the Base URL and the Base URL (secure) for use in configuring items like multilingual configuration.