Adobe Commerce - Global Management

Support DQE
Support DQE
  • Updated

DQE Core Module Overview

Multistore Configuration

  • The DQE module supports multistore configurations.
  • It can be enabled/disabled at both website and store levels using the enable/disable field in Stores > Configuration > DQE > DQE Core.
  • Configuration for DQE services like Address, Email, Gender, B2B, or Phone can also be managed by scope.

Controller

  • The DQE Core module includes controllers that handle requests to the DQE API and return formatted responses.
  • Controllers are located in the controller folder and include:
    1. Index Controller: Used for customer account login, create, and edit forms.
    2. Checkout Controller: Used for checkout shipping and billing forms.

Model

  • The DQE Core module uses the DqeDataModel, which maps to the dqe_core_data table in the database.
  • Controller responses are stored in this table, with each response containing:
    • A type and a mapping_entity_id (e.g., the customer ID in the customer_entity table).
  • Response Types:
    • TEMP: Temporary data until the form is submitted.
    • ADDRESS: Address-related responses.
    • ADDRESS_COMPL: Address completion responses.
    • PHONE: Phone-related responses.
    • EMAIL: Email-related responses.

JavaScript Integration

  • When a response is sent by the controller:
    • JavaScript files retrieve the parameters and insert a hidden input field with a random ID into the Magento form.
    • This random ID is temporarily stored in the database.

Observer

  • Observers ensure that responses are definitively saved in the database when the form is submitted.
  • They retrieve the proper entity_id and mapping_entity_id, which are inserted into the DOM by JavaScript.
  • Important Note: Once submitted, the TEMP type transitions to its final type (e.g., ADDRESS or EMAIL).

Cron Jobs

  • If a form is not submitted, responses marked as TEMP are automatically removed later by a scheduled Cron job.

DQE Core Features

  • The DQE Core module contains the primary operations organized into:
    • Model folder.
    • Controller folder.
  • It also manages the license parameter, which is critical for all other DQE modules.

Related to

Was this article helpful?

0 out of 0 found this helpful