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

Compatibily to Prestashop 1.7.7.8 #428

Open
totti240282 opened this issue Oct 1, 2021 · 12 comments
Open

Compatibily to Prestashop 1.7.7.8 #428

totti240282 opened this issue Oct 1, 2021 · 12 comments

Comments

@totti240282
Copy link

is it possible to make the library compatible with the latest version?

@christiantricarico
Copy link

Are there many problems with the last Prestashop version?
I'm new to Prestashop and I'm just looking for a .NET client.

@totti240282
Copy link
Author

Yes.

@AssCasc
Copy link
Contributor

AssCasc commented Oct 15, 2021

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?

@sasciamorelli
Copy link

Prestashop 1.7.8.0 not work with this library 😱😱😱😱😱😱😱😱

@sasciamorelli
Copy link

has anyone figured out what the problem can be?

@christiantricarico
Copy link

I'm using the library with version 1.7.7.8 without problems.
I Add/Update products, images and available-stocks.

@sasciamorelli
Copy link

in fact, it is version 1.7.8.0 that is the last that does not work with prestasharp

@AssCasc
Copy link
Contributor

AssCasc commented Nov 11, 2021

True, the 1.7.7.8 version correctly work but the 1.7.8.0 version do not

@AssCasc
Copy link
Contributor

AssCasc commented Nov 16, 2021

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.

@IcuScc
Copy link

IcuScc commented Apr 28, 2022

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...

@IcuScc
Copy link

IcuScc commented Apr 28, 2022

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

@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

5 participants