Product Registration/Linking

Register and link products between WooCommerce and Base ERP

Register in Base ERP the products sold in WooCommerce and link each item by the Internal Product Identifier.

This link allows Base ERP to identify the corresponding product during the NF-e issuance flow.

📘

Important

WooCommerce should be treated as the main source for inventory control in this version of the plugin.

Registering the product in Base ERP is required to enable the NF-e issuance flow, but it does not replace the operational inventory control performed in WooCommerce.

Before you start

Confirm that:

  • the NF-e Issuer for WooCommerce is installed and configured;
  • WooCommerce is connected to the correct Base ERP environment;
  • you have access to product registration in Base ERP;
  • the products to be linked already exist in WooCommerce.

If you have not yet configured the integration, see Installation/Configuration.

How the link works

%%{init: {"flowchart": {"nodeSpacing": 18,"rankSpacing": 24,"diagramPadding": 4,"padding": 7}}}%%
flowchart TD
A["Register the product in Base ERP"] --> B["Review the tax data"]
B --> C["Copy the Internal Identifier"]
C --> D["Open the product in WooCommerce"]
D --> E["Enter the Base ERP ID"]
E --> F["Save the product"]
F --> G["Validate the link"]

classDef inicio fill:#DBEAFE,stroke:#2563EB,color:#1E3A8A,stroke-width:3px
classDef validacao fill:#E0F2FE,stroke:#0284C7,color:#0C4A6E,stroke-width:2px
classDef sucesso fill:#DCFCE7,stroke:#16A34A,color:#14532D,stroke-width:3px

class A inicio
class B,C,D,E,F validacao
class G sucesso

linkStyle default stroke:#94A3B8,stroke-width:2px

Understand which system controls each piece of information

In this version of the plugin, products and inventory are not automatically synchronized between WooCommerce and Base ERP.

InformationSystem responsible
Inventory controlWooCommerce
Product availability in the storeWooCommerce
Product tax recordBase ERP
Data used to issue the NF-eBase ERP
Link between the product sold and the tax recordWooCommerce and Base ERP
🚧

Inventory in Base ERP

When registering a product in Base ERP, you can leave the inventory at zero.

This does not prevent invoices from being issued, since inventory control does not affect this step in this version of the plugin.

Product or inventory changes made in one system do not automatically update the other.

1. Register the product in Base ERP

In Base ERP:

  1. Go to Commercial > Products and Services.
  2. Click Add Product/Service.
  3. Fill in the required information and the data needed to issue the NF-e.

Required fields are identified by the paper icon next to the field name.

📘

Tip

Also check the Inventory, Tax, Composition, and Attachments tabs.

The product's tax information must be correct to avoid inconsistencies when issuing the NF-e.

Click Save to complete the registration.

2. Find the Internal Product Identifier

After saving the product, Base ERP automatically generates the Internal Product Identifier.

Find this field and copy the number.


This is the identifier used to relate the Base ERP tax record to the product sold in WooCommerce.

3. Link the product in WooCommerce

In WordPress:

  1. Go to Products > All Products.
  2. Open the corresponding product.
  3. In Product Data, select the Base ERP section.
  4. Enter the Internal Product Identifier copied from Base ERP.
  5. Click Update.

If you are creating a new product in WooCommerce, use Add Product and click Publish after filling in the ID.

Expected result

The WooCommerce product should be related to the corresponding record in Base ERP through the Internal Product Identifier.

This link allows the item sold to be identified in the NF-e issuance flow.

Review the product data

Before testing issuance, check:

Field or attributeWhere to checkUse
Product nameWooCommerce and Base ERPHelps verify the corresponding product.
SKUWooCommerce and Base ERP, when usedMakes identification and operational checks easier.
Internal Product IdentifierBase ERPCreates the link with WooCommerce.
Tax dataBase ERPUsed in the NF-e issuance flow.
CFOPBase ERPMust match the tax operation.
TaxesBase ERPMust be configured correctly for issuance.
Item typeBase ERPClassifies the registered product or service.
Corresponding productWooCommerceMust receive the ID of the correct record in Base ERP.
📘

Best practice

The Internal Product Identifier is the main field for the link with WooCommerce.

Fields such as name and SKU help with verification, but do not replace the link by the Base ERP internal product ID.

Process summary


Validate before using in Production

Run the test in the Sandbox and confirm that:

  • the product sold is registered in Base ERP;
  • the Internal Product Identifier entered in WooCommerce matches the correct product;
  • the tax data has been reviewed in Base ERP;
  • products with variations are linked to the corresponding record;
  • the product is correctly identified in the NF-e issuance flow.
🚧

Attention

Until there is automatic synchronization, keep an internal record of the products already registered and linked.

This helps avoid duplicate records, incorrect links, and NF-e issuance failures.

Common errors

SituationPossible causeWhat to do
Product does not appear in Base ERPProduct has not been registered yetRegister the item in Commercial > Products and Services.
Product is not identified during issuanceMissing or incorrect linkCheck the Internal Identifier entered in WooCommerce.
Inventory differs between the systemsThere is no automatic synchronizationKeep inventory control in WooCommerce.
NF-e shows incorrect dataIncomplete or incorrect tax recordReview the tax information in Base ERP.
Product is duplicated in Base ERPThe item was registered more than onceReview the existing products before creating another record.
Variation is linked incorrectlyID entered on the wrong itemConfirm that the ID matches the expected product or variation.

Next steps


Did this page help you?