PrestaSharp
PrestaSharp copied to clipboard
Prestashop 8.2
Has anyone tried this library with PS 8.2? Does everything work?
Yes it works but I have an issue with restsharp version that it is not compatible with Prestasharp, here are the versions 👍 <package id="PrestaSharp" version="1.2.9" targetFramework="net48" /> <package id="RestSharp" version="112.1.0" targetFramework="net48" /> and the error is in Category = CatFact.GetByFilter(filter,null,null); if (Category.Count > 0) { List<CategoryItem> ParListChild = new List<CategoryItem>(); RestClient rClient = new RestClient(BaseUrl);
ParListChild = rClient.GetMainCategories(Category, "To");
var ChildCat = (CategoryItem)comboBoxPrestaCat1.SelectedValue;
comboBoxCatRoot.ItemsSource = ParListChild;
comboBoxCatRoot.DisplayMemberPath = "NomFR";
comboBoxPrestaCat1.SelectedValuePath = null;
comboBoxCatRoot.SelectedIndex = 0;
//comboBoxCatRoot_SelectionChanged(null, null);
}
Regards, Jean-Marie