bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

issue adding / updating images

Open ssmcleod opened this issue 9 years ago • 0 comments

Hi

I have previously used the following code to add a product image once the product was created.

$image = new Bigcommerce_Api_ProductImage(); $image->product_id = $prodid; $image->image_file = $image; // etc..

$image->create();

Now I get the error "Fatal error: Class 'Bigcommerce_Api_ProductImage' not found"

Can anyone assist with how i can add product images via the api?

ssmcleod avatar Mar 21 '15 04:03 ssmcleod