You took the ProductTemplateId out of the Products table !!!
Posted: Sun Jan 10, 2010 1:01 pm
I was hit with a shock when I (and my code) discovered the
ProductTemplateId was removed from the Products table !!!
In the ProductHelper.cs file I had:
if (product.ProductTemplateId == 5)
..........
But now I don't know how to access the ProductTemplateId of 5?
Can it be accessed through another field?
I know this is not right, but can one of these other fields be used instead:
if (product.TemplateFields == 5) ???
or
if (product.ProductProductTemplates == 5) ???
ProductTemplateId was removed from the Products table !!!
In the ProductHelper.cs file I had:
if (product.ProductTemplateId == 5)
..........
But now I don't know how to access the ProductTemplateId of 5?
Can it be accessed through another field?
I know this is not right, but can one of these other fields be used instead:
if (product.TemplateFields == 5) ???
or
if (product.ProductProductTemplates == 5) ???