From 3a24c0dc9ad87ca087a3f7baa08a8c6c1568e7b8 Mon Sep 17 00:00:00 2001 From: Scott Wadden Date: Wed, 20 Nov 2024 14:07:33 -0400 Subject: [PATCH] WIP channel config extension template --- channel-config/README.md.liquid | 1 + channel-config/locales/en.default.json.liquid | 0 channel-config/shopify.extension.toml.liquid | 7 +++++++ templates.json | 17 +++++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 channel-config/README.md.liquid create mode 100644 channel-config/locales/en.default.json.liquid create mode 100644 channel-config/shopify.extension.toml.liquid diff --git a/channel-config/README.md.liquid b/channel-config/README.md.liquid new file mode 100644 index 0000000..790b675 --- /dev/null +++ b/channel-config/README.md.liquid @@ -0,0 +1 @@ +## Extension Configuration diff --git a/channel-config/locales/en.default.json.liquid b/channel-config/locales/en.default.json.liquid new file mode 100644 index 0000000..e69de29 diff --git a/channel-config/shopify.extension.toml.liquid b/channel-config/shopify.extension.toml.liquid new file mode 100644 index 0000000..b72988e --- /dev/null +++ b/channel-config/shopify.extension.toml.liquid @@ -0,0 +1,7 @@ +[[extensions]] +name = "Channel config extension" +type = "channel_config" +handle = "{{ handle }}" +channel_definition_handle = "google" +max_listing_variants = 10 +publication_status_listing_level = item diff --git a/templates.json b/templates.json index 5ce9b8d..46b7893 100644 --- a/templates.json +++ b/templates.json @@ -1065,5 +1065,22 @@ "path": "admin-link" } ] + }, + { + "identifier": "channel_config_template", + "name": "Channel config template", + "defaultName": "channel-config-template", + "group": "Sales channels", + "supportLinks": [], + "url": "https://github.com/Shopify/extensions-templates", + "type": "channel_config", + "extensionPoints": [], + "supportedFlavors": [ + { + "name": "Config only", + "value": "config-only", + "path": "channel-config" + } + ] } ]