/**
  * Add a product by its ID to the cart.
  */
 public static function addById($id, $data)
 {
     $cm = new CartModel();
     $cm->addById($id, $data);
 }