Total Posts:
3
Karma:
25
Joined:
2/10/2011
Location:
France
I want to add more information on the new product and especially the specification attribute information. See this screenshot to see exactly where I want to add the specification attribute. http://wsitemc.hd.free.fr/Content/Images/uploaded/AddSpecAtt.jpg I have edit the file "_ProductBox.cshtml" and add <div class="custom-specification-attribute"> <div class="description"> @Html.Raw(Model.ShortDescription) </div> <div class="custom-specification-attribute"> @Html.Raw(Model.SpecificationAttributeModels. ) </div> How to get the specification attribute from this code?
Total Posts:
3
Karma:
25
Joined:
7/5/2012
Location:
United Kingdom
Does anyone know the answer to this? I'm trying to do something similar and I'm not sure where to start. In my case I'd like to show the product attributes on the catalog products list pages, on my _ProductBox.cshtml I've got this @Html.Raw(Model.SpecificationAttributeModels.Count().ToString()) but it returns 0 items... Any help would be greatly appreciated!
Total Posts:
52
Karma:
348
Joined:
3/5/2012
Location:
United States
Anyone ever get a solution to this? It appears this returns a zero count even when specification attributes are clearly tied to the product.