Last active
November 26, 2017 21:50
-
-
Save stefanolsen/9b44c334974ee34d7cb3ead435d7d29e to your computer and use it in GitHub Desktop.
Code listings for blog post about generating and exporting catalog feeds from EPiServer Commerce. Read about it here: https://stefanolsen.com/posts/on-exporting-product-catalogs-to-google-or-facebook/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FieldMapping xmlns="http://stefanolsen.com/CatalogFeed.GoogleMerchant/MappingDocument.xsd"> | |
<ContentType CommerceType="CatalogNode"> | |
<Fields> | |
<MappedField MetaField="GoogleProductCategoryId" FeedField="google_product_category"/> | |
</Fields> | |
</ContentType> | |
<ContentType CommerceType="Product"> | |
<Fields> | |
<MappedField MetaField="DisplayName" FeedField="title"/> | |
<MappedField MetaField="Description" FeedField="description"/> | |
<MappedField MetaField="Brand" FeedField="brand"/> | |
</Fields> | |
<ImageGroup AssetMetaField=""/> | |
</ContentType> | |
<ContentType CommerceType="Variation"> | |
<Fields> | |
<MappedField MetaField="Code" FeedField="code"/> | |
<MappedField MetaField="StopPublish" FeedField="expiration_date"/> | |
<MappedField MetaField="Color" FeedField="color"/> | |
<MappedField MetaField="Size" FeedField="size"/> | |
<FixedField FeedField="condition" Value="new"/> | |
</Fields> | |
</ContentType> | |
</FieldMapping> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment