Mapping Magento 2 Custom Product Attributes in NetSuite Connector

Map Magento 2 custom product attributes to NetSuite using attribute codes. Follow the setup process to ensure seamless integration.

·2 min read·View Oracle Docs

What Are Magento 2 Custom Product Attributes?

Magento 2 utilizes product attributes to define product characteristics within the custom_attributes tag. Each attribute has a unique code needed for mapping to fields in NetSuite. Identifying these codes is crucial for a successful integration.

Common Magento 2 Attribute Codes

Here are some commonly used attribute codes you would encounter in Magento 2:

Attribute Code
preferred_vendor
image
url_key
description
cost
small_image
options_container
short_description
is_hazardous_material
quantity_on_order
tax_class_id
thumbnail
units
quantity_and_stock_status
msrp_display_actual_price_type
categories
oem_number
featured
sale
required_options
has_options
manufacturer
country_of_manufacture
tariff_code
fitment
mst_search_weight
size

Note: Ensure your attributes in Magento 2 are set to Global. If they aren't, the attributes will not save correctly, and the NetSuite Connector will be unable to post to the attributes.

How to Create a Product Mapping for Magento 2 in NetSuite Connector

To effectively map your Magento 2 custom product attributes in NetSuite, follow these steps:

  1. In NetSuite Connector, navigate to the Product Mapping page.
  2. Click Add Mapping.
  3. From the Standard dropdown menu, select custom_attributes.
  4. Click on Add Mapping.
  5. Locate the newly added row for custom_attributes. Click Special Mapping - Click to Edit.
  6. In the custom_attributes Mapping window:
    • Enter the attribute code from Magento 2 in the Attribute column (left).
    • Enter the corresponding NetSuite field to which you want to map this attribute in the Attribute Value Field column (right).
    • If adding multiple custom attributes, click Add Row and repeat this step for additional mappings.
  7. Click Save Changes to finalize the mapping, then close the mapping popup.
  8. Finally, click Save to complete the process.

Who This Affects

  • Developers: Those implementing or customizing Magento 2 integrations.
  • Administrators: Users managing product attributes in both systems.
  • eCommerce Managers: Individuals overseeing product data accuracy across platforms.

Key Takeaways

  • Identify Magento 2 attribute codes for mapping.
  • Ensure attributes are set to global in Magento 2 for successful integration.
  • Follow specific steps in NetSuite Connector to create product mappings efficiently.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

Do I need to enable a feature flag in NetSuite to map Magento 2 custom product attributes?
The article does not mention the need to enable a feature flag in NetSuite for mapping Magento 2 custom product attributes. You need to navigate to the Product Mapping page in NetSuite Connector to start the process.
What happens if the attributes in Magento 2 are not set to Global?
If attributes in Magento 2 are not set to Global, the attributes will not save correctly, and the NetSuite Connector will be unable to post to these attributes.
How do I map a Magento 2 attribute code to a NetSuite field?
In NetSuite Connector, use the Product Mapping page to add a new custom attributes mapping. Enter the Magento 2 attribute code in the Attribute column and the corresponding NetSuite field in the Attribute Value Field column, then save the changes.
Are there specific roles in an organization that benefit from understanding Magento 2 and NetSuite integration?
Yes, developers implementing integrations, administrators managing product attributes, and eCommerce managers overseeing product data accuracy are all affected by understanding Magento 2 and NetSuite integration.
Source: Mapping Magento 2 Custom Product Attributes in NetSuite Connector Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →