Skip to content

Commit

Permalink
incorporated product_schema and channel_configs section to channel co…
Browse files Browse the repository at this point in the history
…nfig extension default template
  • Loading branch information
Catherine-Fu committed Dec 9, 2024
1 parent 5a09722 commit 70ed292
Showing 1 changed file with 105 additions and 3 deletions.
108 changes: 105 additions & 3 deletions channel-config/shopify.extension.toml.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,108 @@
type = "channel_config"
handle = "{{ handle }}"
{% if uid %}uid = "{{ uid }}"{% endif %}
channel_definition_handle = "google"
max_listing_variants = 10
publication_status_listing_level = "item"

[[extensions]]
type = "channel_config"
handle = "channel-config-template"
uid = "020b85f6-c955-454d-8ec5-629d232db97d"

[[extensions.channel_configs]]
handle = "eBay"
channel_definition_handle = "ebay"
max_listing_variants = 1000
publication_status_level = "listing"

[[extensions.channel_configs.markets]]
handle = "US"
taxonomy_name = "ebay-us"
taxonomy_id = 3
product_schema = "ebay-us"
languages = ["EN"]

[[extensions.channel_configs.markets]]
handle = "CAN"
taxonomy_name = "ebay-ca"
taxonomy_id = 4
product_schema = "ebay-ca"
languages = ["EN", "FR"]

[[extensions.product_schema]]
handle = "ebay-us"

[[extensions.product_schema.schema_fields]]
handle = "sku"
resource_type = "ProductVariant"
required_data_type = "string"
enforcement = "recommended"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "SKU"
display_domain = "item_details"
display_order = 1

[[extensions.product_schema.schema_fields]]
handle = "title"
resource_type = "Product"
default_source_path = "product.title"
required_data_type = "string"
enforcement = "required"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "Title"
display_domain = "listing_details"
display_order = 2

[[extensions.product_schema.schema_fields]]
handle = "subtitle"
resource_type = "Product"
required_data_type = "string"
enforcement = "optional"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "Subtitle"
display_domain = "listing_details"
display_order = 3

[[extensions.product_schema]]
handle = "ebay-ca"

[[extensions.product_schema.schema_fields]]
handle = "sku"
resource_type = "ProductVariant"
required_data_type = "string"
enforcement = "recommended"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "SKU"
display_domain = "item_details"
display_order = 1

[[extensions.product_schema.schema_fields]]
handle = "title"
resource_type = "Product"
default_source_path = "product.title"
required_data_type = "string"
enforcement = "required"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "Title"
display_domain = "listing_details"
display_order = 2

[[extensions.product_schema.schema_fields]]
handle = "subtitle"
resource_type = "Product"
required_data_type = "string"
enforcement = "required"
can_overwrite = true

[extensions.product_schema.schema_fields.display]
display_name = "Subtitle"
display_domain = "listing_details"
display_order = 3

0 comments on commit 70ed292

Please sign in to comment.