How to add css and jquery to nopcommerce

How to add css and jQuery to nopCommerce

For new Jquery plugin to nopCommerce,find the _root.head.cshtml file in Nop.Web\Views\Shared\ and add the following codes

Html.AppendScriptParts(@Url.Content("~/Scripts/public.ajaxcart.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/public.common.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/jquery-ui.min.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/jquery.validate.min.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js"));
Html.AppendScriptParts(@Url.Content("~/Scripts/jquery-1.7.1.min.js"));

If it says $ is undefined, you probably have used Html.AppendScriptParts

For css, use

Html.AppendCssFileParts(@Url.Content("~/Content/smoothness/jquery-ui-1.8.17.custom.css"));

The path to upload jQuery code is /Script