PrestaSharp
PrestaSharp copied to clipboard
Compatibily to Prestashop 1.7.7.8
is it possible to make the library compatible with the latest version?
Are there many problems with the last Prestashop version? I'm new to Prestashop and I'm just looking for a .NET client.
Yes.
Are you sure that the version number is 1.7.7.8, i think the problems start from the 1.7.8.0 version, however i've a lot of problem in creating/updating too, someone could fix?
Prestashop 1.7.8.0 not work with this library 😱😱😱😱😱😱😱😱
has anyone figured out what the problem can be?
I'm using the library with version 1.7.7.8 without problems. I Add/Update products, images and available-stocks.
in fact, it is version 1.7.8.0 that is the last that does not work with prestasharp
True, the 1.7.7.8 version correctly work but the 1.7.8.0 version do not
According to this issue in official prestashop github https://github.com/PrestaShop/PrestaShop/issues/26361 if you are setting, as i was, the position_in_category field you must:
For solving it :
- You must set id_category_default with an ID AND position_in_category with a value > 1.
- OR you must unset id_category_default AND position_in_category.
According to this issue in official prestashop github PrestaShop/PrestaShop#26361 if you are setting, as i was, the position_in_category field you must:
For solving it : - You must set id_category_default with an ID AND position_in_category with a value > 1. - OR you must unset id_category_default AND position_in_category.
Hello. In my case i unset the property position_in_category... and i can create product...
With Prestashop 1.7.8.X and PHP 7.4... after product is created, i can not get using a filter by reference. It returns to me zero results. 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