Add static content to category in ASP.net ,write code

//Add static content to category

string categoryName = “Books”;

string staticContent = “Description of Books”;

using (var dbContext = new DatabaseContext())
{
var category = dbContext.Categories.SingleOrDefault(c => c.Name == categoryName);
if (category != null)
{
category.StaticContent = staticContent;
dbContext.SaveChanges();
}
}
You should now be able to manage orders from Magento through ShipStation.

No comments yet.

Leave a comment

Request a Free SEO Quote