PrestaSharp
PrestaSharp copied to clipboard
Prestashop 1.7.8.0 not work with this library
Library Version:
1.2.9
NuGet Package Url:
https://www.nuget.org/packages/PrestaSharp/1.1.0
Prestashop version:
1.7.8.0
Describe the Bug:
creating and updating products does not work every update operation we receive this response from prestashop: "L'oggetto nullable deve avere un valore." the english translation should be : "The nullable object must have a value"
With Prestashop 1.7.8.X and PHP 7.4... i can add products unsetting the property position_in_category, but my new problem is that after product is created, i can not get it using a filter by reference. It returns to me zero results and i can not to make update.
if i create the product by hand in prestashop, the filter by reference works ok.
Any idea?
Thanks
Hi good morning to all
I changed the way of filter
- productosPs = PsProducto.GetByFilter(psFiltroRef, null, null); by productosPs = PsProducto.GetByFilter(psFiltroRef, null, "1");
using the limit parameters works for me the cerate and update products
i hope this answer works for you aswell.
see you