title: Add warnings for cart items using filterContext nopcommerce
body: <p><strong>Introduction</strong></p>
  <p>I am working with newly added filter for shoppingcart/cart in nopcommerce.</p>
  <pre><code>public void OnActionExecuted(ActionExecutedContext filterContext)
  {
    bool IsShoppingCart = (filterContext.RouteData.Values[&quot;controller&quot;].Equals(&quot;ShoppingCart&quot;)
                     &amp;&amp; (filterContext.RouteData.Values[&quot;action&quot;].Equals(&quot;Cart&quot;)));
    var result = filterContext.Result as ViewResultBase;
    if (result == null){return;}
    var model = result.Model;
  //get model and add warnings for items in the model
  }
  </code></pre>
  <blockquote>
  <p>There are warnings passed along with the cartitems so it can be
  displayed. For example the &quot;Product is deleted&quot; warning when we add to
  cart the item and delete the product.</p>
  </blockquote>
  <p><strong>Question</strong></p>
  <p>I am trying to get a solution where i can add/edit warnings in filter and return the response. so my custom warnings being added to cart when exist. Custom warning can be anything with my business logic.</p>
  <p>If someone have an idea, please help. Thanks for you time.</p>