comment functioning of cart badge