Skip to main content

Field Mapping (Bidirectional)

The Field Mapping system allows you to map any Odoo field to any PrestaShop API field with full control over sync direction.

Accessing Field Mappings

Navigate to PrestaShop > Mapping and select:

  • Product Mapping - Map product.template fields to PS product fields
  • Customer Mapping - Map ps.customer fields to PS customer fields
  • Category Mapping - Map product.category fields to PS category fields
  • Order Mapping - Map ps.order fields to PS order fields

Product Mapping Menu

Creating Field Mappings

Each mapping row defines a connection between one Odoo field and one PrestaShop field:

ColumnDescription
Mapping TypeProduct / Customer / Category / Order
InstanceWhich PrestaShop store this mapping applies to
Odoo FieldDropdown of all stored fields on the Odoo model
PrestaShop FieldDropdown of all known PS API fields (47 product, 16 customer, 13 category, 26 order fields)
Custom PS FieldEnter a custom API field name if not in the dropdown
DirectionBidirectional / Odoo to PS / PS to Odoo
Sync on CreateApply this mapping when creating new records
Sync on UpdateApply this mapping when updating existing records
ActiveEnable or disable this individual mapping
TestValidate the mapping configuration

Product Mapping Empty

Product Mapping Active

Loading Default Mappings

To quickly set up standard mappings:

  1. Go to any mapping view (e.g. Product Mapping)
  2. Click the Action dropdown menu (gear icon)
  3. Select "Load New Fields"
  4. Default mappings will be created for the selected type

Default Mappings Created

TypeCountFields Included
Product20 mappingsname, price, reference, weight, description, barcode, SEO fields, etc.
Customer7 mappingsfirst_name, last_name, email, birthday, active, group, opt-in
Category8 mappingsname, description, active, parent, meta fields, URL
Order7 mappingsreference, date, total, status, customer, note, currency

Category Mapping

Category Mapping Empty

Category Mapping Active

Customer Mapping

Customer Mapping Empty

Customer Mapping Active

Order Mapping

Order Mapping Empty

Order Mapping Active

Sync Direction Explained

DirectionBehavior
BidirectionalField syncs in both directions. PS value saved to Odoo when pulling; Odoo value sent to PS when pushing.
Odoo to PrestaShopField only syncs when pushing data from Odoo to PrestaShop. PS values are NOT pulled into this Odoo field.
PrestaShop to OdooField only syncs when pulling data from PrestaShop. Odoo values are NOT pushed to this PS field.
tip

Use "PrestaShop to Odoo" direction for read-only fields that should only be imported. Use "Odoo to PrestaShop" for fields you manage in Odoo and want to push to your store.

Need Help?

Contact SDLC Corp at sdlccorp.com/contact-us