Add extra class to cart item data

Fix #4600