diff --git a/Provider.php b/Provider.php index b742a97..0e303c7 100644 --- a/Provider.php +++ b/Provider.php @@ -91,6 +91,9 @@ public static function additionalConfigKeys() */ private function shopifyUrl($uri = null) { + if (!empty($this->parameters['subdomain'])) { + return 'https://'.$this->parameters['subdomain'].'.myshopify.com'.$uri; + } if ($this->getConfig('subdomain')) { return "https://{$this->getConfig('subdomain')}.myshopify.com".$uri; }