nopCommerce 2.10 critical issue fix for 'Single product variant' template

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Yesterday we released nopCommerce 2.10. It has a critical issue in 'Single product variant' template. That's why today we have released a new version for nopCommerce. So if you downloaded nopCommerce 2.10 on the first release day, then download the latest version again here (its version is still 2.10)

Or you can follow the next steps in order to manually apply the fix
1. Open \Views\Catalog\ProductTemplate.SingleVariant.cshtml file
2. Replace
var defaultProductVariant = Model.ProductVariantModels.Count  == 1 ? Model.ProductVariantModels[0] : null;

with
var defaultProductVariant = Model.ProductVariantModels.Count > 0 ? Model.ProductVariantModels[0] : null;
12 years ago
I hope the fact that they both have the same Version number
...will not make people think they already have the fixed version.
12 years ago
Thanks. I've just added the following text: "if you downloaded nopCommerce 2.10 on the first release day..."
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.