Jump to content

NULL value in product_attribute


salvatore-rws

Recommended Posts

Hello everyone,

I noticed that by creating a product using the Webservice API a record into "product_attribute" is generated with NULL values in it.
This happens with a simple product and also on products with combination. Also I didn't find a way to retrieve this NULL attribute through the API in order to possibly delete it.

error.thumb.png.ffd815c194f95e3ec50c16a5f4fb8071.png

in the image above you can see that a product with 2 combinations has 3 rows, one of those has NULL values in it. This also happens when I create a product without any combination (in this case only 1 row is created  with NULL values)

This does NOT happen when I create a product via PrestaShop web. How can I prevent this from happening by Webservice API?

Thank to anyone who will answer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...