Closed AmandaLutzTO closed 2 months ago
The docs explain how to migrate the products field using the resave command.
As for the collections field, until we add collections syncing, you will need to do the same steps as the products and make a text field to store the old collection handle, and then retrieve the collection with the API directly with twig:
{% set req = craft.shopify.api.get('custom_collections') %}
{% set collections = req.response.custom_collections %}
Hope that helps in the interim.
Description
I inherited this Craft site and first task is updating to Craft 4. Migrating from nmaier95/shopify-product-fetcher 2.2.0 to craftcms/shopify 4.0.0. Working through the migration steps (https://github.com/craftcms/shopify/tree/v4?tab=readme-ov-file#migrating-from-v2x) but I have 2 missing field types:
Steps to reproduce
Additional info