IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
This article contains changes in backward compatibility in the Sitefinity CMS 5.2 release. Here you can find the following:
Read the whole article for detailed information about each of the changes.
With the newly introduced Multi-Currency feature all money related fields now have a corresponding ExchangeRate* fields. These should be used in all front end widgets (be it stock or custom).
Fields that have changed in the process are:
Orders table
OrderDetails table
OrderDiscounts table
The ExchangeRate* fields are the values in the currency selected by the user. If multi-currency is not enabled on the site, then the ExchangeRate* fields are the values in the merchant’s currency. The “Old” properties are still being used. Their values are in the merchant’s default currency just as they were in the versions previous to 5.2.
A new field in the product model has been introduced. It is called ClrType. Because this field will be used on the frontend for better performing queries, it is a mandatory field. To learn how to get the ClrType value for a product, see the following code snippet:
public
void
SetProductTypeClrType(Product contextProduct)
{
Type contextProductsType = contextProduct.GetType();
contextProduct.ClrType = contextProductsType.ToString();
}
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important