Added the ability to set a custom name for order items
Tags:
Starting from version V7Preview4, it will be possible to specify and retrieve a custom name for an order item that has a link to IProduct.
Available properties for reading custom names:
IOrderProductItem.ProductCustomName- regular dishIOrderCompoundItemComponent.ProductCustomName- component of a compound dishIOrderServiceItem.ServiceCustomName- serviceIOrderModifierItem.ProductCustomName- modifier of a regular dish, compound dish, or component of a compound dishIOrderServiceItemPeriod.ServiceCustomName- rate of a time-based service
Available methods for writing custom names:
- For regular dish
- For component of a compound dish
- For service
- For modifier of a regular dish, compound dish, or component of a compound dish
- For rate of a time-based service
Custom names are displayed in the order composition and in the event log, and are also printed on receipts.