PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

Hidden product when adding from prestasharp

Open ssssirhc opened this issue 8 years ago • 2 comments

Hi Everyone, I'm experiencing a strange behaviour when adding products to prestashop 1.7.2.3 The products are hidden. We need to search in the back office , and press save on the product so that they becomes available...

ssssirhc avatar Oct 20 '17 10:10 ssssirhc

You have to regenerate cache to see new products in front office search.

Selmirrrrr avatar Oct 26 '17 09:10 Selmirrrrr

Hy,

old entry, but still open and maybe this helps What we were facing in this case was, that we didn't set the product.state properly. We set active = 1, which activates the product, but you also have to set product.state to 1 (there are 2 states if you look into db product table: 0 -> tmp product, 1 -> saved product.

Since we use active = 1 and state = 1, all products are visible right after importing through Restsharp.

L

lichesser avatar Sep 02 '19 15:09 lichesser