Query, modify, and delete a localized product

Query localized products

When you work with localized products, we recommend querying them either by the value of their Id property, or by the value of their Sku property. These properties are not localizable. You must not query items by properties of type LString.For more information, see For developers: Query products.

Modify localized products

If you are not updating any of the LString properties, you can follow procedure For developers: Modify products. If you want to update the values of the localizable properties, follow procedure For developers: Add a translation to a localized product.

Delete localized products

To delete a localized product you must follow procedure For developers: Delete products.

To delete a translation of a localized product, you must perform the same procedure, but instead the DeleteProduct method you must call the DeleteItem method and pass the culture of the translation as an argument. Code example: Delete a translation of a product

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?