Hello Guys,
I have checked on 3.8 version and i think older version should have same logic as well and below is the solutions to Hide the price adjustment values from OrderSummary.cshtml
you need to change one line of code in Nop.Web/Controllers/ShoppingCartController.cs
Find the method
PrepareShoppingCartModelFind the region
#region Cart items
and find and replace below line
AttributeInfo = _productAttributeFormatter.FormatAttributes(sci.Product, sci.AttributesXml),
with below line
AttributeInfo = _productAttributeFormatter.FormatAttributes(sci.Product, sci.AttributesXml,_workContext.CurrentCustomer,renderPrices:false),
there is one overloaded method _productAttributeFormatter.FormatAttributes() on which we can pass renderPrices=false so it will not add the price adjustment values.
so suppose if you wanted to apply same logic to other places like on order detail page on admin or on frond end you need to find appropriate controller action and model filling method and you need to pass renderPrices=false so it will not show price adjustment value.