Skip to content

Commit

Permalink
Fixed ref handle
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Nov 2, 2023
1 parent 43782a5 commit 9c74fb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Release Notes for Shopify

## 4.0.0 - WIP
- Shopify now requires `shopify/shopify-api` 5.2.0 or later.
- Shopify now requires `shopify/shopify-api` 5.2.0 or later. ([#81](https://github.com/craftcms/shopify/issues/81), [#84](https://github.com/craftcms/shopify/issues/84))
- Shopify now the related custom app to be created with event version set to `2023-10`.
- Syncing meta fields is no longer performed in a job.
- Product ref handle has changed to `shopifyproduct`. ([#77](https://github.com/craftcms/shopify/issues/77))
- Fixed a bug where ref handles were not being parsed. ([#77](https://github.com/craftcms/shopify/issues/77))
- Deprecated the `craft\shopify\jobs\UpdateProductMetadata` job.
- Fixed a bug where the template routing setting would not save.
- Removed `craft\shopify\events\ShopifyProductSyncEvent::$metafields`. Use `craft\shopify\events\ShopifyProductSyncEvent::$element->getMetaFields()` instead.
Expand All @@ -12,9 +14,9 @@

- Added support for syncing variant inventory levels. ([#61](https://github.com/craftcms/shopify/issues/61))
- Added `craft\shopify\elements\db\ProductQuery::publishedScope()`. ([#65](https://github.com/craftcms/shopify/issues/65))
- Fixed a PHP error that occurred when saving the plugin settings in headless mode. ([#68])https://github.com/craftcms/shopify/issues/68))
- Fixed a bug where changes to the product field layout in the project config weren’t applying correctly. ([#52](https://github.com/craftcms/shopify/issues/52)
- Fixed an error that occurred when installing the plugin on PostgreSQL. ([#58](https://github.com/craftcms/shopify/issues/58)
- Fixed a PHP error that occurred when saving the plugin settings in headless mode. ([#68](https://github.com/craftcms/shopify/issues/68))
- Fixed a bug where changes to the product field layout in the project config weren’t applying correctly. ([#52](https://github.com/craftcms/shopify/issues/52))
- Fixed an error that occurred when installing the plugin on PostgreSQL. ([#58](https://github.com/craftcms/shopify/issues/58))

## 3.1.1 - 2023-01-20

Expand Down
2 changes: 1 addition & 1 deletion src/elements/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public static function pluralLowerDisplayName(): string
*/
public static function refHandle(): ?string
{
return 'shopify-products';
return 'shopifyproduct';
}

/**
Expand Down

0 comments on commit 9c74fb8

Please sign in to comment.