This guide explains how to extend the shopping model in Norce Commerce by adding custom fields to baskets and orders through info types.
- Understand your product model and attributes
- Plan your checkout process requirements
- Define needed basket and order extensions
Before extending the shopping model, ensure you have:
- Defined what additional information needs to be captured
- Identified which level (basket, basket item, order, order item) needs the extensions
- Determined the data types and formats for the extensions
- Navigate to Shopping -> Settings in Admin
- Select the Info-Types tab
- Choose the object to extend:
- Basket (whole basket level)
- BasketItem (line item level)
- Order (order header level)
- OrderItem (order line level)
- Select the appropriate object level
- Create new info type fields as needed
- Configure the field properties
- 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
- 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
- Product Model Configuration
- Checkout Process Setup (see Norce Checkout documentation)
- Order ERP Integration
- Configure checkout process, like delivery and payment (old checkout procees), or using the New Norce Checkout.
- Set up ERP integration