WooCommerce.NET icon indicating copy to clipboard operation
WooCommerce.NET copied to clipboard

Product addRange returns list with no data

Open dugi007 opened this issue 3 years ago • 1 comments

Hi,

if I understand correctly, product.addRange should return list with inserted data. For example if add list with 5 products, addRange returns list with 5 products, but product data is empty (no id, price etc).

Is this bug, or am I doing something wrong?

Tnx Vedran

dugi007 avatar Apr 14 '21 11:04 dugi007

This could be due to an error on the WooCommerce side. I've submitted a pull request to fix this. #600 Either get my code or you could intercept the response and deserialise it yourself for now, see #596 for an example on how to do this.

firestormza avatar May 03 '21 04:05 firestormza