From a28fadf89320a0efaf03286714547c99bf0e4c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20HOUZET?= Date: Thu, 25 Jul 2019 10:19:21 +0900 Subject: [PATCH] Add ProductImage Hello Add ProductImage on $resources to add images on product $product_image_info = array( 'src' => $image->link ); $image_shopify = $shopify->ProductImage->post($product_image_info,$shopify->Product->generateUrl(array(),$product_shopify['id']."/images")); --- lib/ShopifySDK.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ShopifySDK.php b/lib/ShopifySDK.php index 0f623f8..4d89dbc 100644 --- a/lib/ShopifySDK.php +++ b/lib/ShopifySDK.php @@ -192,6 +192,7 @@ class ShopifySDK 'Page', 'Policy', 'Product', + 'ProductImage', 'ProductListing', 'ProductVariant', 'PriceRule',