Shopify - Category Mapping

  • Updated

It is possible to synchronize Perfion Categories to Collections in Shopify. Products can afterword's be added to the Collections . The most simple category mapping is like:

image-20240530-115818.png

 

Mapping to field

Output Kind

Description
SyncID (Required)

Field

The SyncID will be updated with Shopify Id for the categroy.
SyncDate (Required)

Field

The SyncDate will be updated with Shopify “Updated At” for the product.

NOTE: deleting SyncDate value for chosen category will lead to category update in Shopify on next synchronization.

NOTE: if more than one channel is used, then this parameter must be independent for each channel.

Key (Required)

KeyField

Usually “Value“ or “@Id” depending on value used in e.g. Metafield collection_reference.
Title (Required)

Field

A unique category title. The Title is translatable.
SyncMsg

Field

SyncMsg will be used for reporting errors back to products in Perfion.
BodyHtml

Field

A category description in plain test or Html. The BodyHtml is translatable.
OnlineStorePublishDate

Field

A date and time in the future if the Category should be publish at a specific time. Shopify only support the publish date for the Online Store. The format can be in:

  • UTC “dd/MM/yyyy HH:mm:ssZ“
  • with time zone-offset “dd/MM/yyyy HH:mm:ss +HH:mm“
  • without time zone-offset “dd/MM/yyyy HH:mm:ss” and then the time zone-offset will be taken from the setting ShopifyTimeZone.
SalesChannels

Field

Multi feature of Sales Channels or a comma separated list of Sales Channels names
TemplateSuffix

Field

The theme template used when viewing the collection in a store
Image

Field, Image(Url)

Public image Uri or a Image feature
SortOrder

Field

The order in which the collection's products are sorted.

Allowed values:

  • AlphaAsc Alphabetically, in ascending order (A - Z).
  • AlphaDesc Alphabetically, in descending order (Z - A).
  • BestSelling By best-selling products.
  • Created By date created, in ascending order (oldest - newest).
  • CreatedDesc By date created, in descending order (newest - oldest).
  • Manual In the order set manually by the merchant.
  • PriceAsc By price, in ascending order (lowest - highest).
  • PriceDesc By price, in descending order (highest - lowest).
Handle

Field

A unique human-friendly string for the collection. Automatically generated from the collection's title. The Handle is translatable.
SeoTitle

Field

SEO title of the collection. The SeoTitle is translatable from version 2.2.1.
SeoDescription

Field

SEO description of the collection. The SeoDescription is translatable from version 2.2.1.
RedirectNewHandle

Field

Indicates whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. Default is false
Metafield|<namespace>|<key>|<type>

Field

See Shopify - Metafield Mapping for more information.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.