Magento Metafields & Data Mapping
Introduction
Please note The SparkLayer Help Docs refer to attributes as "Metafields" elsewhere.
Attributes help you to customise the functionality and appearance of your Magento store by letting you save specialised information that isn't usually captured in the Magento admin. You can use attributes for internal tracking, or to display specialised information on your online store in a variety of ways.
In the context of SparkLayer, attributes are used to capture additional B2B data that you can then use in a variety of ways:
Type | Details |
|---|---|
Product attributes | Updating the Frontend Interfaces by adding configurations such as pack sizing, RRP prices, and more |
Customer attributes | Updating a customer's information by adding information such as credit limits |
Order attributes | Updating an order with invoicing information |
How to add attributes to Magento
The easiest way to add attributes is to action this via the SparkLayer Dashboard. Simply go to Integrations > Platform Connection and click "Configure" under "Configure metafields". You can then select which of the SparkLayer attributes you'd like to enable.
Important considerations
In order for SparkLayer to work with Magento attributes, please note the following:
Product attributes Attributes are always added at the product variant level, even if the product only comes in a single variant.
JSON data Some SparkLayer settings require attributes to be set up as JSON strings. These will need to be carefully added, making sure the formatting is set correctly.
Advanced settings
To learn about more advanced settings, including customer-level product attributes settings, please see Product Settings