Skip to content

Commit 3e86bb7

Browse files
author
Ben White
committed
Remove GoogleMerchantFeed Mapping defaults
1 parent 292881c commit 3e86bb7

File tree

1 file changed

+2
-33
lines changed
  • src/Umbraco.Commerce.ProductFeeds.Client/frontend/src/workspaces/details

1 file changed

+2
-33
lines changed

src/Umbraco.Commerce.ProductFeeds.Client/frontend/src/workspaces/details/context.ts

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class UcpfDetailsWorkspaceContext
9797
return this.#model.getValue();
9898
}
9999

100-
protected resetState(): void {
100+
protected resetState(): void {
101101
super.resetState();
102102

103103
const availableFeedTypes = this.#feedTypes.getValue();
@@ -112,38 +112,7 @@ export class UcpfDetailsWorkspaceContext
112112
productChildVariantTypeIds: [],
113113
productDocumentTypeIds: [],
114114
includeTaxInPrice: true,
115-
propertyNameMappings: [
116-
{
117-
uiId: nanoid(),
118-
nodeName: 'g:id',
119-
propertyAlias: 'sku',
120-
valueExtractorId: 'DefaultSingleValuePropertyExtractor',
121-
},
122-
{
123-
uiId: nanoid(),
124-
nodeName: 'g:title',
125-
propertyAlias: 'Name',
126-
valueExtractorId: 'DefaultSingleValuePropertyExtractor',
127-
},
128-
{
129-
uiId: nanoid(),
130-
nodeName: 'g:availability',
131-
propertyAlias: 'stock',
132-
valueExtractorId: 'DefaultGoogleAvailabilityValueExtractor',
133-
},
134-
{
135-
uiId: nanoid(),
136-
nodeName: 'g:image_link',
137-
propertyAlias: 'image',
138-
valueExtractorId: 'DefaultMediaPickerPropertyValueExtractor',
139-
},
140-
{
141-
uiId: nanoid(),
142-
nodeName: 'g:image_link',
143-
propertyAlias: 'images',
144-
valueExtractorId: 'DefaultMultipleMediaPickerPropertyValueExtractor',
145-
},
146-
],
115+
propertyNameMappings: [],
147116
} as FeProductFeedSettingWriteModel);
148117
}
149118

0 commit comments

Comments
 (0)