Items
This document outlines the features of the items module in the Checkout App across different platforms.
Platforms
POS
Supported Features
- Item images in the item search.
Configuration
- No specific CCC configurations are required for this platform.
Cache Behavior
Links to item images are cached for 24 hours. After this period, the cache is cleared, and new links are retrieved to ensure images are current while minimizing server load.
Additionally, POS cache the images itself, with the cache managed by the device. Maximum cache size is limited to 10% of the device's storage capacity.
Self-Checkout (SCO)
Supported Features
- Item images displayed in the receipt.
- Item images displayed in the manual input.
- Item images displayed in the context menu.
Configuration
- To enable item images, set the
itemPicturesEnabled
flag totrue
in the cha.settings.v1 configuration.
Cache Behavior
Links to item images are cached for 24 hours. After this period, the cache is cleared, and new links are retrieved to ensure images are current while minimizing server load.
Additionally, SCO cache the images itself, with the cache managed by the device. Maximum cache size is limited to 10% of the device's storage capacity.
Mobile
Supported Features
- Item images displayed in the receipt.
- Item images displayed in the item search.
Configuration
- No specific CCC configurations are required for this platform.
Cache Behavior
Links to item images are cached for 24 hours. After this period, the cache is cleared, and new links are retrieved to ensure images are current while minimizing server load.
Additionally, Mobile POS cache the images itself, with the cache managed by the device. Maximum cache size is limited to 10MB. Cache might be managed also by appropriate headers in the response from the server. More information can be found here.
Source of Item Images
For all platforms, links to item images are sourced from the item data provided to the Item-input API. For each instance where an image is displayed, the App retrieves the image links with available sizes from the item data and selects the most suitable image for the current context.