1. Bertrand Le Roy
  2. Nwazet.Commerce
  3. Issues
Issue #3 resolved

Bug in ShoppingCart.cshtml and related/suimilar views when more than 1 attribute

Christian Surieux
created an issue
var attributeNamePrefix = propertyNamePrefix + string.Format(".AttributeIdsToValues[{0}]", attrIndex);
foreach (KeyValuePair<int, string> attribute in item.ProductAttributes) {

shoudl be

foreach (KeyValuePair<int, string> attribute in item.ProductAttributes) {
    var attributeNamePrefix = propertyNamePrefix + string.Format(".AttributeIdsToValues[{0}]", attrIndex);

Comments (4)

  1. Log in to comment