diff --git a/src/fields/ProductDetails.php b/src/fields/ProductDetails.php index 92e9df4..d4ea1d8 100644 --- a/src/fields/ProductDetails.php +++ b/src/fields/ProductDetails.php @@ -145,9 +145,9 @@ public function normalizeValue($value, ElementInterface $element = null) * @inheritdoc * @since 3.3.0 */ - public function getContentGqlType(): array + public function getContentGqlType() { - $typeName = $this->handle.'_ProductDetailsField'; + $typeName = $this->handle.'_SnipcartField'; $productDetailsType = GqlEntityRegistry::getEntity($typeName) ?: GqlEntityRegistry::createEntity($typeName, new ObjectType([ diff --git a/src/gql/ProductDetails.php b/src/gql/ProductDetails.php deleted file mode 100644 index c70b111..0000000 --- a/src/gql/ProductDetails.php +++ /dev/null @@ -1,48 +0,0 @@ -