Changed on:
17 Oct 2023
The Store Locator Module is responsible for synchronizing locations from Fluent to Adobe Commerce.
Key features:
Synchronization flow contains 4 steps:
This flow is common for all Location synchronization types.
There are three synchronization types implemented:
Allows synchronizing all locations, supposed to be used after module installation to import all location information from Fluent to Adobe Commerce. To fetch the location, it uses the location updated date range from 1970-01-01 to NOW + 5 mins.
Can be run from Magento CLI with the command below:
`1bin/magento fluent:store_locator:sync`
Allows fetching from Fluent location changes from a specific date. Can be run only from the admin interface. It uses the date range from SPECIFIED to NOW + 5mins
A background process to keep Adobe Commerce locations up to date, being executed by Adobe Commerce cron job. The frequency of the cron job execution can be configured in module configuration in Adobe Commerce admin. By default, it runs every day at midnight in the configured admin timezone. It uses a date range from LAST_EXECUTION_TIME to NOW + 5 mins.
Name | Description | Parameters |
fluent_before_save_store_locator | Allows customization of store locator model before save | store locator model, store locator response data |
fluent_get_store_locator_query_build_after | Allows customization of the payload of get location request | request_data of type StoreLocatorGetDataInterface, query of type string |
fluent_store_locator_prepare_variable | Allows customization of variables used for request building | variables of type array, request_data of type StoreLocatorGetDataInterface |
fluent_store_locator_prepare_request_fields | Allows customization of fields used for request building | request_fields of type DataObject |
fluent_store_locator_email_prepare_request_variable | Allows customization of filter fields used in email request building | field_list of type DataObject |
fluent_store_locator_email_prepare_variable | Allows customization of variables used in email request building | variables of type DataObject, request_data of type StoreLocatorGetEmailDataInterface |
fluent_store_locator_email_prepare_request_fields | Allows customization of fields to be requested in email request building | request_fields of type DataObject |
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.