Focusing on managing products, variants, and collections through the API.
Hi,
I built an app that adds/remove automatically products to a given collection. However the only way to do that is to use a manual collection, that the user can still modify after the app created it and filled it. I don't want the user to be able to modify the collection as it's all managed by the app.
I'd like somehow to warn the user that this collection is managed by an app, or to prevent them to add/remove products from the collection.
Is that something we can do, or have a feature request for it?
Thanks
Try creating an admin UI extension.
Maybe use the `admin.collection-details.action.render` target?
That way, you can display a banner on a collection page in the admin.
https://shopify.dev/docs/api/admin-extensions/2024-04/api/extension-targets
(Not sure if it will work, but it's worth a shot)
That's great ! I was not aware of the possibility of having this kind of extension.
I was able to play with it, and while I see great potential with it, it lives at the bottom of the page, only if the user pinned it to the UI.