Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prestashop 1.7.8.0 not work with this library #430

Open
sasciamorelli opened this issue Oct 27, 2021 · 2 comments
Open

Prestashop 1.7.8.0 not work with this library #430

sasciamorelli opened this issue Oct 27, 2021 · 2 comments

Comments

@sasciamorelli
Copy link

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"

@IcuScc
Copy link

IcuScc commented Apr 28, 2022

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

@IcuScc
Copy link

IcuScc commented May 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants