How to reference new field in Category table

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I needed to add a "webaddress" field to the category table.  I need to reference this field on the category/ProductsInLines1.ascx page.  I added the field reference to the category.cs and DBcategory.cs page.  When I try to retrieve the data from this field using:

hlImageLink.NavigateUrl = category.Webaddress;

it doesn't return any value.  What else am I missing?  Any help would be much appreciated.
14 years ago
1. Did you change stored procedure to give you back webaddress
2. Did you add line with this info in dbmapping method of provider
14 years ago
Hi,

Looking at what you have done, you have overlooked the NopDataReader.

You will need to edit this in SQLCategoryProvider.cs and you will need to go to Utilities and add a line to GetCategoryFromReader.

then it should work.

mike..
14 years ago
Look at this topic to get more info how to add a new field to an entity.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.