diff --git a/create_product.php b/create_product.php index 9100e94..1cc70c9 100644 --- a/create_product.php +++ b/create_product.php @@ -1,4 +1,4 @@ - array @@ -41,17 +41,17 @@ } catch (shopify\ApiException $e) { - # HTTP status code was >= 400 or response contained the key 'errors' + // HTTP status code was >= 400 or response contained the key 'errors' echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } catch (shopify\CurlException $e) { - # cURL error + // cURL error echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } -?> \ No newline at end of file +?> diff --git a/get_products.php b/get_products.php index 37f12e6..297b346 100644 --- a/get_products.php +++ b/get_products.php @@ -1,4 +1,4 @@ -'published')); print_r($products); } catch (shopify\ApiException $e) { - # HTTP status code was >= 400 or response contained the key 'errors' + // HTTP status code was >= 400 or response contained the key 'errors' echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } catch (shopify\CurlException $e) { - # cURL error + // cURL error echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } -?> \ No newline at end of file +?> diff --git a/get_shop.php b/get_shop.php index e66efc1..ae54b23 100644 --- a/get_shop.php +++ b/get_shop.php @@ -1,4 +1,4 @@ -= 400 or response contained the key 'errors' + // HTTP status code was >= 400 or response contained the key 'errors' echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } catch (shopify\CurlException $e) { - # cURL error + // cURL error echo $e; - print_R($e->getRequest()); - print_R($e->getResponse()); + print_r($e->getRequest()); + print_r($e->getResponse()); } -?> \ No newline at end of file +?>