Skip to content
Last updated

This guide explains how to extend the shopping model in Norce Commerce by adding custom fields to baskets and orders through info types.

Required steps

  • Understand your product model and attributes
  • Plan your checkout process requirements
  • Define needed basket and order extensions

Preparations

Before extending the shopping model, ensure you have:

  1. Defined what additional information needs to be captured
  2. Identified which level (basket, basket item, order, order item) needs the extensions
  3. Determined the data types and formats for the extensions

How-to

Access Info Types

  1. Navigate to Shopping -> Settings in Admin
  2. Select the Info-Types tab
  3. Choose the object to extend:
    • Basket (whole basket level)
    • BasketItem (line item level)
    • Order (order header level)
    • OrderItem (order line level)

Add Info Types

  1. Select the appropriate object level
  2. Create new info type fields as needed
  3. Configure the field properties

Field Usage Examples

  • Basket level: Additional order information for the ERP system
  • BasketItem level: Expected delivery dates, product attributes
  • Order level: Software download links, Data from the ERP
  • OrderItem level: Line-specific information from ERP

Important considerations

  • All info type fields are stored as text in Norce Commerce
  • Fields can be interpreted as dates, numbers, or other formats by client applications, as you like
  • JSON objects can be used for complex data structures
  • Matching identifiers between basket and order fields enables automatic data population

Further reading

Where to go from here