PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

Prestashop 8.2

Open totti240282 opened this issue 10 months ago • 1 comments

Has anyone tried this library with PS 8.2? Does everything work?

totti240282 avatar Mar 24 '25 09:03 totti240282

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

polaije avatar Apr 13 '25 14:04 polaije