Jam jars are placed in cardboard trays and then wrapped securely in plastic shrink wrap to keep them in the trays.
The advantage of packaging the jam jars in the cardboard is that they can then be stacked up easily for transit and displayed when in the store.